We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Togor
6 years agoExplorer | Level 3
Ruby API v2 Client got Internal Server Error after redirected from oauth2.authorize
I deployed my Ruby app in GAE, and browsed it with url: https://xxxxxxxxxxxxxx.appspot.com/. After directed to https://www.dropbox.com/oauth2/authorize, I click the Allow, the the page was directed ...
Greg-DB
Dropbox Community Moderator
6 years agoThe '"code": must not be empty' comes from the Dropbox API /oauth2/token endpoint, and indicates that the client did not supply the required "code" parameter.
You'll need to debug your app to see why you're not sending up the expected code value, which seems like it's supposed to be in the 'params['code']' in your case. I can't offer help with Ruby or your web framework itself though.
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!