Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid JSON payload received #25

Closed
JuniYadi opened this issue Nov 1, 2019 · 4 comments
Closed

Invalid JSON payload received #25

JuniYadi opened this issue Nov 1, 2019 · 4 comments

Comments

@JuniYadi
Copy link
Contributor

JuniYadi commented Nov 1, 2019

Look like Google People Need Updates

PHP Fatal error:  Uncaught Exception: {
  "error": {
    "code": 400,
    "message": "Invalid JSON payload received. Unknown name \"parent\": Cannot bind query parameter. Field 'parent' could not be found in request message.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "description": "Invalid JSON payload received. Unknown name \"parent\": Cannot bind query parameter. Field 'parent' could not be found in request message."
          }
        ]
      }
    ]
  }
}
 in /var/www/html/php-google-people/vendor/rapidwebltd/php-google-people-api/src/GooglePeople.php:132
Stack trace:
#0 /var/www/html/php-google-people/vendor/rapidwebltd/php-google-people-api/src/Contact.php(16): RapidWeb\GooglePeopleAPI\GooglePeople->save(Object(RapidWeb\GooglePeopleAPI\Contact))
#1 /var/www/html/php-google-people/save.php(18): RapidWeb\GooglePeopleAPI\Contact->save()
#2 {main}
  thrown in /var/www/html/php-google-people/vendor/rapidwebltd/php-google-people-api/src/GooglePeople.php on line 132
@dvdwalker
Copy link

@JuniYadi your fix worked like a charm. Saved my day. Thanks!

@JuniYadi
Copy link
Contributor Author

JuniYadi commented Nov 2, 2019

@JuniYadi your fix worked like a charm. Saved my day. Thanks!

You're welcome, enjoy..

@hans77cz
Copy link

hans77cz commented Nov 4, 2019

Same issue here.

@JuniYadi fix worked. Thanks!

Waiting for PR approval :)

@DivineOmega
Copy link
Member

PR merged. Will release shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants