Discussions
-
Load xml file to browser's local storage
Hi, I was trying to directly load to the browser's local storage a file saved and shared on dropbox, using an xmlrequest but I am getting the following error 'http://localhost' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is…
-
NetworkError when attempting to fetch resource when trying to share file using javascript sdk
Hi, I am very new to the Dropbox SDK, I am trying to programmatically create a link for sharing a file and getting the above error: NetworkError when attempting to fetch resource when trying to share file using javascript sdk I am using the following code: var dbx = new Dropbox.Dropbox({ accessToken: ACCESS_TOKEN });…