Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting a 400 error when attempting to refresh token.

I'm running this in the "GraphicalHTTPClient" app for Mac trying to figure out what's going wrong in my code.  It's telling me there's no "grant_type", but it's definitely there, so not sure what's causing it to say this.  Again, the same thing is occurring with my equivalent PHP code (The same code that works perfectly fine on every other request).

 

 

Here's what I'm seeing: 

 

OAuth2 Error

Best Answer
0 Votes
1 REPLY 1

You're sending grant_type as a header instead of a POST body parameter.

Best Answer
0 Votes