Support » Plugin: WP Google My Business Auto Publish » There was an error: 400 INVALID_ARGUMENT Request contains an invalid argument.

  • Resolved tcolling

    (@tcolling)


    When I try to share a post to the three locations associated with one of my clients, the share fails with this error message:

    There was an error: 400 INVALID_ARGUMENT Request contains an invalid argument.

    PHP Version: 7.0.32-0ubuntu0.16.04.1
    Wordpress Version: 4.9.8
    Plugin Version: 2.9
    HTTP OR HTTPS: HTTPS
    Active Plugins:
    Gravity Forms
    Advanced Custom Fields: Repeater Field
    Advanced Custom Fields
    Advanced Excerpt
    WordPress Backup & Security Plugin – BlogVault
    Classic Editor
    Column Shortcodes
    Constant Contact Forms by MailMunch
    Contact Form 7
    Cookie Notice
    Custom Sidebars
    Facebook Button by BestWebSoft
    Featured Products
    Flamingo
    Gallery Album
    Testimonials Widget Plugin
    Google +1 by BestWebSoft
    GravityWP – CSS Selector
    The Hack Repair Guy’s Plugin Archiver
    Insert Headers and Footers
    MainWP Child
    Newsletter – Sendgrid
    Newsletter
    PHP Code Widget
    RSS Includes Pages
    SendGrid
    Shortcodes Ultimate
    ShortPixel Image Optimizer
    Simple Author Box
    Simple History
    Simple Responsive Slider
    Stream
    The Hack Repair Guy’s Admin Login Notifier
    TubePress
    Ultimate Responsive Image Slider
    User Activity Log
    Yoast SEO Premium
    WP Google My Business Auto Publish
    Math Captcha

    NextGEN Gallery
    Location Information:
    Diane Kelly, RN {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Pathways Home Health and Hospice {“isGoogleUpdated”:true,”canUpdate”:true,”canDelete”:true,”isVerified”:true,”isPublished”:true}
    A Servant’s Heart In-Home Care {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Desiring Grace {“canUpdate”:true,”canDelete”:true,”isVerified”:true,”isPublished”:true}
    Above & Beyond Home Health Care and Hospice Care {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Accredited Home Care – San Gabriel Valley {“isGoogleUpdated”:true,”canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Silver Wings Care Management {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Pegasus Home Health Care {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Accredited Home Care – San Diego {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    MB HomeCare {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Willow Personal Care Assistants, LLC {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Accredited Home Care – San Fernando Valley {“isGoogleUpdated”:true,”canUpdate”:true,”isVerified”:true,”isPublished”:true}
    A Servant’s Heart Geriatric Care Management {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Amazing Grace Assisted Living {“canUpdate”:true,”canDelete”:true,”isVerified”:true,”isPublished”:true}
    A Servant’s Heart Web Design and Marketing 🚀 {“isGoogleUpdated”:true,”canUpdate”:true,”canDelete”:true,”isVerified”:true,”isPublished”:true}
    Pathways Home Health and Hospice {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Mi Casa Assisted Living {“canUpdate”:true,”canDelete”:true,”isVerified”:true,”isPublished”:true}
    Assisted Living Facilities In Chino Hills CA {“canUpdate”:true,”canDelete”:true,”isVerified”:true,”isPublished”:true}
    Silver Crown Homecare 👵👴 {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Pacific Mobility Center – Temecula {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Accredited Home Care – Orange County {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Accredited Home Care {“canUpdate”:true,”canDelete”:true,”isVerified”:true,”isPublished”:true}
    Pacific Mobility Center – Huntington Beach {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Pacific Mobility Center, Inc {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Accredited Home Care – Los Angeles {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    Caring Connection, Inc. {“canUpdate”:true,”isVerified”:true,”isPublished”:true}
    A Servant’s Heart In-Home Care {“canUpdate”:true,”isVerified”:true,”isPublished”:true}

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @tcolling,

    I suspect the issue has something to do with the share message perhaps? Can you provide more information on what you are sharing? Are you sharing a post or are you creating a share from the plugin settings? What is the message you are sharing?

    What is the location that you are trying to share to from the location information mentioned in your diagnostics above?

    Thanks,

    Thread Starter tcolling

    (@tcolling)

    Hi –

    This was a normal blog post that was scheduled to be published yesterday at 08:00 local time in California. The post published on time but the auto-post did not occur, or at least did not occur successfully.

    The share is set up to be: [POST_TITLE] – [POST_EXCERPT] – by [POST_AUTHOR]

    The client has three GMB locations and the share was attempting to post to all of them.

    Two of the GMB locations are SABs and the third is not.

    Here is the blog post: https://www.pacificmobility.com/blog/benefits-using-standing-frame/

    I opened the post in edit mode and attempted to post it to the three GMB locations using the “Share Now” button in your plugin’s widget in the post. That’s when I see the error message in the subject line of this support request.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @tcolling,

    What did you mean by SAB’s? What happens when you try to just share to that one location?

    Are you able to share to that location using the share now ability?

    The issue may have to do with the volume of locations you have setup. I spoke to a Google My Business representative the other day and they told me it’s not possible to share to more than 10 locations on an account, so this could be the issue you are encountering.

    Thanks,

    Thread Starter tcolling

    (@tcolling)

    “What did you mean by SAB’s? What happens when you try to just share to that one location?”

    SAB = “Service Area Business” – that’s one where Google hides the address
    No, attempting to share only to the one that is NOT an SAB does not solve the problem.

    “Are you able to share to that location using the share now ability?”
    No, as mentioned above.

    “The issue may have to do with the volume of locations you have setup. I spoke to a Google My Business representative the other day and they told me it’s not possible to share to more than 10 locations on an account, so this could be the issue you are encountering.”

    Well, in this case (a) there are only three, not ten, and (b) even when just attempting to share with only one selected, it fails with that error message.

    Thread Starter tcolling

    (@tcolling)

    I have created a copy of the site on a staging server (it’s at WPEngine) and I will create a user account there for you, under your “info@” email address.

    • This reply was modified 3 years, 10 months ago by tcolling.
    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Thanks @tcolling for your answers, I will check this out now and hopefully* I can get to the bottom of it. I appreciate your patience with me and the plugin.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @tcolling,

    I did a test of the share now feature for all 3 locations and had no issues. I did a test message of just “TESTING 123” – I immediately deleted these messages.

    I also did a test of publishing a new post and once again it shared to all 3 locations. So I am not seeing any indication that the plugin is not working. Once again I deleted all test messages

    Thanks,

    Thread Starter tcolling

    (@tcolling)

    Hmmm. Try sharing this post; it is the one that failed in the first place, prompting me to file this report.

    https://pmc42.staging.wpengine.com/wp-admin/post.php?post=342441&action=edit

    When I “edit” that post and then try to publish it manually from the button in your tool, right in the post, I get the error message. Do you get it?

    Thanks for hanging in there with me on this. I really want this to work.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Ahhhhhh…I know what the issue is..it baffled me for a bit because I was able to share one of your other posts without issue and I couldn’t really see what the difference was.

    The issue is that your feature image is too small and Google has a rule about images uploaded to Google My Business:

    With the exception of PROFILE and COVER category, all photos must measure a minimum of 250px on the short edge, with a file size of at least 10240 bytes.

    What I have done is released an update to the plugin which checks the file size and dimensions. If it doesn’t meet Google’s criteria the post will still share but it just won’t share the image. I have applied this update to your staging site and it appears to be working. Thanks,

    Thread Starter tcolling

    (@tcolling)

    Thanks for persevering in figuring it out and fixing it.

    I installed your update. Then, I shared that post from the live site to the GMB page. It displayed this odd error in the post edit screen:

    There was an error: success

    However, it did actually share the post successfully, so that’s what matters.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Yeah, I am aware of this issue, it’s just a minor issue as if it says success it means it’s all good. Thanks,

    Thread Starter tcolling

    (@tcolling)

    Ok, thanks

    You can close this now, it’s resolved.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘There was an error: 400 INVALID_ARGUMENT Request contains an invalid argument.’ is closed to new replies.