We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Lukag
3 months agoCollaborator | Level 8
Error 404 Server remote no found
I have an expired token so to get a new one. I try with this code but i have the error Error 404 Server remote no found. I use https://api.dropbox.com and https://api.dropboxapi.com with the sam...
- 3 months ago
Lukag wrote:I changed my code but i have an error 400 Bad request
...
Hm..🤔 You didn't mention, but let me guess: the error message states - unsupported grant type or so. Right?
What grant type you're using EXACTLY? 🧐 Focus on "exactly"! Even one letter - more or less - may make the things wrong. 😉
PS: Print out what you're passing as body text and compare what has to be as we discussed in previous threads. Does it match?
Здравко
Legendary | Level 20
Lukag wrote:I changed my code but i have an error 400 Bad request
...
Hm..🤔 You didn't mention, but let me guess: the error message states - unsupported grant type or so. Right?
What grant type you're using EXACTLY? 🧐 Focus on "exactly"! Even one letter - more or less - may make the things wrong. 😉
PS: Print out what you're passing as body text and compare what has to be as we discussed in previous threads. Does it match?
Lukag
3 months agoCollaborator | Level 8
the problem was that i put a space after refresh_token ...you can see "&grant_type=refresh_token "
( i use https://api.dropboxapi.com/oauth2/token and it works )
Thank you very much
- Greg-DB3 months agoDropbox Staff
Thanks for following up. I'm glad to hear you got that working. For reference, both api.dropbox.com and api.dropboxapi.com are acceptable for this.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 5 hours agoIf 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!