Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
hhjj49
3 years agoNew member | Level 2
Malformed OAuth2 Access Token When Deployed to Vercel
So I just started using dropbox for a nextjs/react app and everything works fine exactly as it should when I run it locally, but when I deploy to vercel I get a 400 code and the 'Error in call to API...
hhjj49
3 years agoNew member | Level 2
I mean that I am sure that the access token is the same for each, and that the same code I am running locally which works, is the code which is deployed and not working. what could be different if the access token and code are the same?
Greg-DB
Dropbox Community Moderator
3 years agoI don't have full context on your different environments of course, but there could be non-obvious differences, e.g., in the versions of the platform, programming language, network client, etc., being used, exactly how the access token is stored/retrieved, or so on, between the different environments.
To troubleshoot this, the next step would be for you to inspect the request being made from the deployed environment.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!