Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us here!
Forum Discussion
emretezisci
2 years agoExplorer | Level 3
"error_description": "missing required field \"grant_type\""
I am trying to get a sl access token with my refresh token but it gives this error. Any idea why? Input: {
"body": {
"grant_type": "",
"refresh_token": "<token>"
},
"contentType": "applicat...
DB-Des
Dropbox Engineer
3 months agoHi trailtech,
We are not familiar with the esp_http_client component, but based on the error you are receiving from the API it's most likely the payload is not being formed correctly. Would it be possible for you to add logging that would allow you to visualize the full request payload before it is being sent to the Dropbox API?
trailtech
3 months agoNew member | Level 1
Unfortunately, they don't have the API to print the HTTP request. So, you suspect the payload isn't constructed properly, specifically on the "grant_type" field, right?
- trailtech3 months agoNew member | Level 1
Yes, it always mentions missing "grant_type" when requesting the token. This is pretty weird because I use it for uploading requests without a problem. Thank you anyway.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,994 PostsLatest Activity: 5 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!