-
Download a single file but getting API error
I have a file at /Commercial/Revenue Cycle/RC Tracker_Automated.xslx. metadata = dropbox.client.files_download_to_file(path="/Commercial/Revenue Cycle/RC Tracker_Automated.xlsx", download_path=".") This gives an error raise ApiError(res.request_id, dropbox.exceptions.ApiError: ApiError('f5b0b8df42f945bf966bbd840b5e9c67',…
-
What happens with 500 linked users?
Hi all! The question is: what happens with the app after it has 500 linked users? I was searching for the answer in here (but did not find any)
-
Cannot get team folder's content
Hello, I am using a dropbox app to get users dropbox content with APIs. It works fine with user personal account. But, when I can't find a way to get content of a team shared folder. Here an example: So with ListFolderAsync I can access and get all folders and files inside the first folder which is personal user's drive.…
-
How can I get the "Date Created" attribute from a file using the python SDK?
Using the Dropbox for Python SDK, I can see the date that the file was last modified in dropbox using the client_modified attribute, However when I view the "Info" tab in the dropbox web UI, i can see that there is "Date created", "Date taken", and "Date uploaded" times, which I want to use to organize my photos. Is there…
-
From Where I can get the File ID
I am trying to download a file using rest service using V2 API. curl -X POST https://api.dropboxapi.com/2/file_requests/get \ --header "Authorization: Bearer <Access Token>" \ --header "Content-Type: application/json" \ --data "{\"id\": \"oaCAVmEyrqYnkZX9955Y\"}" Where I can get the file id? Thanks in advance.
-
Dropbox teams personal folders
Hello, i uploaded file to my personal folder and when using this EP team/namespaces/list i get namespace id of that personal folder, my question how can i use this id to get the files uploaded? or alernatively get new files events which will consider also all the files in the personal folders of the members? second…
-
I can't download files by command
Download files with wget Hello gentlemen of the community. I have a problem. I've been using "wget" since June 2021 to download a file and since then everything has been fine. But this morning the command does not respond and gives clues as to what may be happening. Below is the command I use and it was working: wget -q…
-
API on TLS 1.2
For API, is DropBox going to be TLS 1.2 compliant? On June 20, 2018, early versions of SSL/TLS will no longer be PCI compliant. I was testing the Dropbox API on a TLS 1.2 only server and get the error below. https://api.dropboxapi.com/2/sharing/create_shared_link_with_settings System.ComponentModel.Win32Exception: The…
-
Android app and DropBox API
Hi All, I need help with Dropbox API and my android (Java) app. The Idea of the app is to upload images taken from camera in my app to my own dropbox account. I did as written, pressed the "Generated access token" button in the dropbox consul and all worked. The problem is after few hours it expires and i get error :…
-
Seems like I am having security issues with my files when using sharing_get_shared_links
API sharing_get_shared_links succeeds when I first copy the link from the dropbox manually. It shows: https://www.dropbox.com/s/pexagwz8il76t1k/Beach%20Vibes%20-%206x8%20-%20GO%20WEB.jpg?dl=0 on Copy Link as well as in Python code. No difference. The next entry in the folder fails to get sharing_get_shared_links without…
-
API to add members to Advanced Plan
Hi, I'm considering Dropbox Business with the Advanced Plan for my online data analysis startup. The idea is to use dropbox storage & download as a backend to my online service, not exposing the dropbox UI / apps to my customers. The recent policy change (23/8) limits the advanced plan to 5TB/"user". My business needs N…
-
Issue in generating access token
Hello, I faced many issues in generating access token First, I have here access code generated <REDACTED> Second trying to execute this curl : curl https://api.dropbox.com/oauth2/token \ -d code=<REDACTED> \ -d grant_type=authorization_code \ -d redirect_uri=https://api.dropbox.com/oauth2/token \ -u <REDACTED> It prints…
-
Sometime oauth api login with google lose redirect_uri
When i load oauth2 login api /oauth2/authorize using webview on android https://www.dropbox.com/oauth2/authorize?client_id=qXXXXXXXXXXXXXXXX5&response_type=code&token_access_type=offline&redirect_uri=https://wxx.xxxxxx.com/xxxxplusxxxxxxx/filemanager/&state=SXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXy6mvLyb Then the…
-
How do I extract the url from sharing_get_shared_links?
I am stuck in getting the url from sharing_get_shared_links? Been trying all day with no success. I had no issue with the create_link but that also returns a slew of data which it has the url but much more complex than the get_shared_link. Help please, stuck in the mud. shared_link_metadata =…
-
Is a Shared Workspace assigned just to new Business accounts or are the old ones converted as well?
I have read in this answer about the difference of Team Folder and Shared Workspace. It is states that Shared Workspace is a newer feature. I see that when I fetch https://api.dropboxapi.com/2/team/namespaces/list I receive only one namespace with the team_folder tag:…
-
accessing images from dropbox using python
Using Python, I am trying to download pictures from my dropbox app but I run into the following error message "Error downloading file from Dropbox: [Errno 13] Permission denied:" Here is my code: import dropboxACCESS_TOKEN = "MY SECRET TOKEN"dropbox_folder_path = r"my_dbx_folder_path"local_download_path =…
-
received path not found on 2/sharing/list_shared_links for request with cursor
i am using 2/sharing/list_shared_links endpoint after a few round of receiving a cursor and using it i got the error { "error_summary": "path/not_found/...", "error": { ".tag": "path", "path": { ".tag": "not_found" } } }
-
i have a error with open ID scoups
Scopes used for OpenID Connect. At this time, team-scoped apps cannot request OpenID Connect scopes. OpenID scopes must be explicity set in the "scope" parameter on /oauth2/authorize to be requested.
-
downloading an image using dropbox API
Hello, I am trying to download an image from dropbox api in react native. I am getting a success code: '200' and the response says that it is ok. I have included some of the javascript code below: const response = await fetch('https://content.dropboxapi.com/2/files/download', { method: 'POST', headers: { Authorization:…
-
Embedder opens a blank page with Error: appkey must be provided
Im trying to open a popup window with an embedded Dropbox folder when a user hits a button. When I hit the button, it opens a blank popup. When I turn on the Developer > Javascript console (in safari) I see an error when the Dropbox.embed command runs. The error is: "Error: appkey must be provided" I am using the <script>…
-
API call to Dropbox error
I’ve successfully sync my Dragon Dictate documents to Dropbox for months. Suddenly I’m getting the message “an unexpected error happened during the API call to Dropbox”. What’s wrong? How can I fix this??
-
Trouble Accessing Teams Files via Python SDK
I'm creating a third party webapp to allow for us to quickly search and sort through categorized and tagged files that could be in any folder on dropbox. The process would be that the user inputs either a link to the file or the file's dropbox path, assigns the tags in the webapp, and then the webapp accesses the dropbox…
-
javascript - filesGetTemporaryLink API gives intermittent 500 error
Hi, I'm using the javascript API and calling filesGetTemporaryLink() every so often (maybe 1% of the time) it gives a 500 response code. I'm repeatedly testing on the same set of files and it doesn't fail the same place every time. I could be just me but this seemed to be working more reliably a couple of weeks ago. in…
-
Getting error on shared_link_metadata = dbx.sharing_create_shared_link_with_settings
I have this code working in my development environment, but it will not work using our production environment. I 've created a branding as specified in the documentation. The scoped apps are identical. Am I missing something? The shared linked retrieved is correct. Here's the exception I am getting:…
-
Error (415) from Python files_upload API
Hello, I am trying to write a python script to automatically store an excel file in dropbox. My excel file is created from turning dataframes into excel sheets. This file has 5 sheets with a different dataframe on each sheet. The file size is less than 150 MB. The file shows up in my specified folder, but shows an Error…
-
Id given back in delete event
Can I make a feature request? I would be great if the delete events coming back from `/list_folder(/continue)` include the id of the thing deleted. Seems a bit odd that they dont alredy. Current: { ".tag": "deleted", "name": "General_Engingeering_Test_Project.pdf", "path_lower":…
-
How can I automate retrieval of a refresh token using the Python API?
I have a Python app that is intended to run as a scheduled job to save files to Dropbox at regular intervals. When I have a refresh token, this works fine: dbx = dropbox.Dropbox(app_key='xxx', app_secret='yyy', oauth2_refresh_token='zzz') But of course, the token only lasts for four hours. Every example I've found (here…
-
Improper content upload when using dropbox upload_file API
When I use the file_upload api to upload a file by first opening it with: with open(temp_file_path, 'rb') as local_file: file_data_local = local_file.read() The file uploads to the correct place in dropbox. However, when I get my file from a post request and try to read it and pass it into file upload the contents of the…
-
iOS SDK (Obj-C) authorisation with dropbox app installed produces error (app needs to be updated)
Hi everybody! I'm using the iOS SDK installed with cocoapods to authorise a user in order to upload files to DB. This works, as long as the DB-App isn't installed on my device (the authorisation is then made via Safari). As soon as I install the DB-App and try to allow my app to use DB (in the DB-App), I'm getting an error…
-
from_lookup/not_found
Hello, I am running into an interesting issue when trying to copy a file from one shared folder to another. I was receiving a response that the file could not be found with the path I provided. I would get this error: { "error_summary": "from_lookup/not_found/..", "error": { ".tag": "from_lookup", "from_lookup": {…