Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
barryplum
5 months agoExplorer | Level 3
This app is not valid when trying to authenticate with Oauth
I'm trying to connect Salesforce to Dropbox and I've created an app on Dropbox. I've set up the Auth provider and have a URI redirect setup, but no matter if I use the actual URI or localhost, I alw...
DB-Des
Dropbox Community Moderator
5 months agoThe following authorization URLs work without issues for us:
https://www.dropbox.com/oauth2/authorize?response_type=code&scope=files.content.write+file_requests.write&state=12345&client_id=bvfexg3tcs78e1n&redirect_uri=https://[REDACTED].sandbox.my.salesforce.com/[REDACTED]
Keep in mind we redacted part of the 'redirect_uri' registered to the app in question. Using the actual 'redirect_uri' URL, as it is registered, allows us to continue with authorization without any errors.
This second authorization URL also allows us to continue with authorization without any errors thrown.
Using the original authorization URL you shared:
https://www.dropbox.com/oauth2/authorize?response_type=code&scope=files.content.write+file_requests.write&state=12345&client_id=bvfexg3tcs78e1n&redirect_uri=http://localhost
Results in an "Invalid redirect_uri." error, which would be expected as "http://localhost" is not the redirect URI registered to the app.
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!