Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
James (.
10 years agoNew member | Level 2
Timeout for request to Dropbox API
A User reported that after logging out of his Dropbox account, he gets this message: "The request to link the app is invalid" . I can't replicate the issue here. I had him do some extra logging but s...
Greg-DB
Dropbox Community Moderator
10 years agoHi Jim, there are definitely two different issues here, so I'll address them separately. (They're both to do with the Dropbox Developer Platform though so this is a correct place to ask for help.)
1. The error "The request to link the app is invalid" occurs on the /oauth/authorize step of the OAuth 1 app authorization flow:
https://www.dropbox.com/developers/core/docs#authorize
This error should indicate that the 'oauth_token' parameter is missing or invalid. For example, the following URLs will display this error:
- because there is no 'oauth_token' parameter:
https://www.dropbox.com/1/oauth/authorize
- because the 'oauth_token' parameter contains an invalid request token:
https://www.dropbox.com/1/oauth/authorize?oauth_token=notarealrequesttoken
The 'oauth_token' parameter needs to contain a valid request token retrieved from /oauth/request_token:
https://www.dropbox.com/developers/core/docs#request-token
To investigate that issue, the first step would be to get a sample URL of the /oauth/authorize page that produces that error. (I believe a redirect happens with that error though, so make sure to get the original /oauth/authorize URL, not the redirected /home URL.)
2. The "timeout for request to ... /files/move" issue sounds unrelated, as that's an entirely different endpoint. As you said, it is possible it's due to his network connection (or anything that may be interfering with it) or possibly an issue on our servers. If it's transient and not reproducible, it's likely the former. The best practice for API apps is to do some automatic retrying anyway, since there are plenty of ways for things to fail like that, due to network conditions, etc. If it's reliably reproducible though, and other API calls don't fail, that would indicate an issue on our side. In that case, if you could share steps to reproduce the issue and a sample request/response, we can look into it. (Just be sure to redact any secret values, e.g., the access token.) You can also open an API ticket if you'd prefer to share privately: https://www.dropbox.com/developers/contact
Hope this helps!
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!