-
|
I'm trying to fetch an access token from https://oauth2.googleapis.com/token. I'm getting a status code of 200 but the body is null. Logging the response with the code below: Outputs this: I'm not exactly sure what's wrong here. Any ideas or reading materials you have that might help is greatly appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Hi @garrettjonesgoogle , sorry to blatantly tag you like this but I saw you were a member of the repo and was wondering if you have any idea why this happens? Couldn't find a similar case on the internet yet. |
Beta Was this translation helpful? Give feedback.
-
|
By tracing the http request, I found out that the API was responding with a body but it wasn't properly mapped to the variable containing the result which is why it was showing as null. |
Beta Was this translation helpful? Give feedback.
By tracing the http request, I found out that the API was responding with a body but it wasn't properly mapped to the variable containing the result which is why it was showing as null.