We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Aimed
5 months agoNew member | Level 2
Dropbox refuses to connect when using embedder
When i try to use the embedder in an iframe, it shows that dropbox.com refused to connect.
I made sure that i have added localhost in chooser/saver/embedder domain section in the app console, similar posts seem to have this as a solution but it does not work for me, any idea why and how to fix it?
I made sure that i have added localhost in chooser/saver/embedder domain section in the app console, similar posts seem to have this as a solution but it does not work for me, any idea why and how to fix it?
- GabrielLukeHelpful | Level 5
You've set the domain correctly, but here are a few things to check:
- URL Format: Ensure the iframe URL is correct (e.g., http://localhost:3000 or http://127.0.0.1:3000).
- CORS: Make sure your server allows requests from localhost or the IP address 127.0.0.1.
- Cache: Try clearing your browser cache or use an incognito window.
- Console Errors: Check the browser console for any specific error messages.
If the issue persists, try deploying to a staging server to see if it works outside of localhost. Let me know if that helps!
- iNeilDropbox Engineer
Hello Aimed
Hope that you are well! Would you be able to cross-check if you are using the correct data-app-key value that is connected to your API app when you embed the dropin.js script?
Please note that if you are using the IP address 127.0.0.1 to access your localhost, you will need to include 127.0.0.1 in the domain section of the API app. If you are still having difficulty, please provide a code snippet of your implementation.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,878 PostsLatest Activity: 4 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!