Jason
Jason

Reputation: 711

Getting 400 bad request error on google Talent Solutions api - symfony 4

On implementation of google Talent solutions API, I am getting this error,

{
"error": {
"code": 400,
"message": "Creation request should not have name set.. Request ID for tracking: 07547685-f322-4e9a-b650-0505e3801a8a:APAb7ISK9V8RN0bV6KYUm3BBwoEpL9WDIg==",
"errors": [
{
"message": "Creation request should not have name set.. Request ID for tracking: 07547685-f322-4e9a-b650-0505e3801a8a:APAb7ISK9V8RN0bV6KYUm3BBwoEpL9WDIg==",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT"
}
}

I followed below steps for implementation:

Kindly can you please help where I am missing or guide me in fixing this.

Upvotes: 1

Views: 391

Answers (1)

delboy1978uk
delboy1978uk

Reputation: 12355

A 400 means you have sent a Bad Request - duff data!

In your case, luckily, they tell you exactly what you did wrong - Creation request should not have name set..!

So, don't set the name, and hopefully next request won't be an HTTP 400!

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400

Upvotes: 1

Related Questions