"error": "input_error" when requesting access token using Postman



I’m new to this and I’m a bit stuck and I would appreciate some help.

I’m getting a 400 bad request error when using Postman to obtain an access token. I send a POST request with the client ID, client secret, grant type and authorization code, obtained from following the authorization endpoint of my product.

I have followed the guide at https://codelabs.developers.google.com/codelabs/wwn-api-quickstart/#0 to the letter. I have followed this process in the past and have succeeded in obtaining and using the access token. It does not seem to be working now however and I’m not sure what I am doing differently.

My Postman screen looks like this:

As you can see the body of the response to my POST request is:

“error”: “input_error”,
“error_description”: “code must exist”,
“instance_id”: “61be9ffe-dbb0-4def-a78e-44c1fb964cd0”,
“errors”: [
“label”: “code”,
“format”: “%s must exist”,
“params”: [

Please could you suggest what I need to do to get this working?

Many thanks.


Problem solved! Finally found some blank spaces after “code” in the body of the request. My mistake. Surprisingly hard to spot these obvious errors sometimes…


Glad you were able to figure it out. :slight_smile: