-
Uploading to a shared folder through api
I'm working on integrating dropbox to my company's website and we want to add a feature in to allow the users to share their shared folders to us and using the dropbox api, we upload files to the shared folder that they provided. These shared folders will be in a seperate account that the one we use on our website. Is this…
-
CORS Problem when playing Dropbox shared link mp3 file
Hi, I'm trying to use Web Audio to adjust tune of a song. I can play the song through a Dropbox shared link using <audio src="https://www.dropbox.com/s/[my shared link here]?dl=1"></audio> However, when I connect the audio node to Web Audio context and try to play it, it gives me this error: MediaElementAudioSource outputs…
-
Call dropbox folder and its files names via an API
Hello, Can you help me to understand if it is possible to call a Dropbox folder link as I show “manually” in the below image, ideally not to the web version but the windows explorer, via a macro. The idea is to read and list all the files names in each specific folder of a tre of folders. The same question to call the…
-
https://content.dropboxapi.com/2/files/get_preview issue 409
Hello. I'm trying to get a preview of files stored in shared Dropbox folder, I'm working on JS and I'm getting this error 409 : path not found. This is my script:: var dropboxToken = "My_token"; $.ajax({ url: "https://content.dropboxapi.com/2/files/get_preview", type: 'POST', cache: false, //dataType: 'json', headers: {…
-
getting dropbox paper link using dropbox api
I like to know whether it is possible to get the preview link for dropbox paper. I have an another question like whethter we can build that path manually. I am writing an api which fetches and show only the dropbox paper of the user. It would be helpfull if you could give me an solution.
-
Get message from server if a file is modified
I am looking for a way to sync the files of the App-Folder in Dropbox with the local files if a file is modified on the PC an synced. My first thought is to react to a message from the server if one is modified and then start the sync. But can't find anything in the documentation. Do I have to check periodically if…
-
Show Image from get_temporary_link in Apps.
I have specific dropbox folder that will include only one image at all time. My app needs to get this dropbox image and show this image in image element. Whenever dropbox image change, my app needs to reflect this updated image. I tried to get image using "files_get_temporary_link" API. I've got this json return. when I…
-
Javascript to Run Download Function on My Files?
Greetings, In a previous discussion, I solved how to upload files to pages in my app via a web form. Now I need to dynamically provide a "download" link to the file that was previously attached to that page. I'm working in PHP, and using the Javascript SDK. Details/Workflow: 1. Page is saved to my DropBox app via…
-
DropBox File Property Issue
x Hi Folks, Can anyone help me in providing a JSON format for using "include_property_groups" when retrieving list_folders ? Thanks
-
Disable comments for a file
Hi. How can I disable comments for uploaded file via api? Seached docs without success :confounded:
-
Python DropboxOAuth2Flow Error: WSGIRequest' object does not support item assignment
I'm trying to build a webapp with Django and using dropbox SDK v2 for Python. I'm stuck at Authentication and getting error that WSGIRequest' object does not support item assignment Here is my code: from dropbox import DropboxOAuth2Flow from django.shortcuts import redirect def get_dropbox_auth_flow(web_app_session):…
-
Does DeletedMetadata expire?
Hi, I'm using the Python Dropbox SDK, and wondered about the lifetime of deleted metadata. Does this metadata expire, e.g. after 30 days as with deleted Dropbox files? Many thanks.
-
Dropbox Paper API - Get doc URL given a doc ID
Is there an easy way to get a Dropbox Paper Doc URL given its doc id? I'm hoping to navigate to a specific doc in my browser using the information returned from https://api.dropboxapi.com/2/paper/docs/search
-
filesUpload gives corrupted file
Hello, I'm want to use the Dropbox API/SDK in one of my projects. I have to convert a base64 string I'm getting from my webcam as a screenshot into a real image and then upload it to Dropbox. (I'm more a Designer than a coder, so if I mismatch something - sorry for that.) Following the code I'm currently using: const…
-
Dropbox JavaScript SDK returns nothing
Since two days ago i'm getting a problem with listing files of the folder /folder_a. I execute the code but i dont get response or error. The code works fine when:- if i try a different folder- if i have less than 80 files in /folder_a- if i pass a limit like limit: 50 var dbx = new Dropbox({ accessToken: 'TOKEN'…
-
Obj-C, CLS_LOG Crashlytics logging not showing debug output in the Xcode console?
I have two apps written using Objective C and both use Crashlytics. I'm using the latest version of Crashlytics via Cocoapods. From what I can see both apps have an identical setup. However one app shows the CLS_LOG debugging in the Xcode console and one doesn't, I can't figure out why it doesn't show in the other app.…
-
c# Files.DownloadZipAsync, how do I get link from this Api call?
When I call this API endpoint "Api.Files.DownloadZipAsync", why am I not getting any link to the zip file? Instead I am getting name, path_lower, path_display, id. When I run it on the API explorer, it formed a link in the button below ... something like "blob:https://dropbox.github.io/e05a95ca-8ff7-473b-93ec-b339db391dde"…
-
C# API call "https://api.dropboxapi.com/2/files/list_folder" 400 (Bad Request)
I am getting (400) Bad Request from the below call in c#. string Url = "https://api.dropboxapi.com/2/files/list_folder"; using (WebClient client = new WebClient()) { NameValueCollection values = new NameValueCollection(); string datastring = "path="; client.Headers.Add("Authorization", "Bearer MYTOKEN");…
-
Uploading files to a shared folder through API
Hello, How can I specify a shared folder path while uploading a file through API. When I pass my path as "/test/version1", it is by default going to my home folder of dropbox and creating the path there. So where can I specify my shared folder name (the folder shared by others). Best Regards, Dileep
-
Download Files From Dropbox Using Ruby
Hi , I have xlsx sheet in my dropbox . It have 10 columns and 220 rows . My databse table also have 10 columns, need to feed the xlsx sheet values to table . Future i will add addtional rows in the same sheet . I have a button called Sync Data in my applica tion . Whenever i click that button need to verify the sheet(new…
-
Automatically add users to folder
Hello, I just wondered if there is any way to automatically add an email address / user access to a share folder? When a user submits a request on my website I wanted to automatically grant them permission to a Dropbox folder. I dont really want to use a share link and password as they could easily give that to someone…
-
Unable to generate token
I tried to generate the token using "https://api.dropboxapi.com/oauth2/token" post method API. I am getting the response as "error_description": "No auth function available for given request", "error": "invalid_request" I have including the parameters client_id as app_key and client_secret as app_secret. What have I…
-
multiple calls of `files_get_temporary_link`
Hello, I just got stuck when trying to call dbx.files_get_temporary_link(path) multiple times in python. because I need to create a bunch of links for a dynamically fed input (different paths) Actually one call works, and as soon as I add one more, i get the Error: TypeError: 'GetTemporaryLinkResult' object is not callable…
-
Paper API - Search for documents
In the Paper API, it doesn't look like there's a search endpoint or parameter on the `/docs/list` endpoint to constrain results by a particular query. Is there any way to search for documents? If not, is this something that's on the roadmap? Thanks!
-
The endpoint for uploading files via dropbox web client has been changed?
Hello! I monitor user's requests for upload files via dropbox web client in browser (because of enterprise policy). Earlier, I just analyze the http request to /chunked_upload endpoint. The query contained file name, chunk number, chunks count and other useful information. But now when I try to upload a file to my personal…
-
Dropbox API returning 500 status code.
I am trying to access the list of users who have access to a folder of paper endpoint using paper_docs/folder_users/list api.I am providing the correct doc_id ,still I am getting 500 error.Please,look into it.
-
What is best practice to supply token to webapplicatie version of mobile app
I know how to achieve oauth token from Dropbox in mobile app. I have a desktop variant of my mobile app. What is the best way to apply the oauth token to the webapp. my suggesties would be to Save the token into the userdata on the backend. Then the frontend van retrieve the token from userdata from the backend. Is there a…
-
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed c
i am uploading csv data to cloud here is the code. with open(filename, 'rb') as f: data = f.read() try: dbx.files_upload(data, '/' + filename, dropbox.files.WriteMode.overwrite) return 1 except: traceback.print_exc() return 0 i got this error. requests.exceptions.ConnectionError: ('Connection aborted.',…
-
Origin does not match any app domain
Hi, I'm picking up development after another developer, so I'm not familiar with Dropbox. I've managed to get the Dropbox button working, but when clicked I get the: "Origin does not match any app domain" As I understand it, I have to place the URL into the: "Chooser / Save domains" field, but when I do it appears to be…
-
Relinquish file membership
Hi, I tried using the api relinquish_file_membership. for which I followed teh following: 1. create a file , shared the file with someone and then tried to relinquish_file_memebrship howwver I get the error "The member doesn’t have access to the file" 2. Someone else created the file and shared the file with me. Now, I…