Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello Dropboxers,
I am developing a web app with the use of HTTP endpoints. Thus far, the Power user(owner of a file) can create_a_shared_link with settings for a specific file and share it with others. When a Guest user (NOT owner of the file) logs in to my app i grab the shared link ( that was provided ), i replace the www.dropbox.com/s/blablabla/myFile with dl.dropboxusercontent.com/s/blablabla/myFile and i create a dymanic Javascript script with src="The shared link" to download the file and read it's response.
When the script is placed in the HTML an error occurs: "Refused to execute script from 'dl.dropboxusercontent.com/s/blablabla/myFile' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled."
I can not find a solution to this problem. Can you provide some help please?
Hi there!
If you need more help you can view your support options (expected response time for a 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!