-
Get refresh token from access token?
I can get an access token from the website at https://www.dropbox.com/developers/apps/info/****** for my server-based app. Those tokens seem to work for what I need, which is just to retrieve uploaded files and manage files in one directory. But those tokens seem to expire. How can I get a refresh token for this app? I…
-
Download not complete with json file
when I want to download a json file of 4,7MB the response is empty. I tried with the SDK using dbx.filesDownload({ path: file }) and with a HTTP request on 'https://content.dropboxapi.com/2/files/download'. In Fiddler I get the message: [Fiddler] ReadResponse() failed: The server did not return a complete response for this…
-
/oauth2/token route is returning a binary in response
Hi, i'm having problems when deploying my integration to my QA environment, i have already tested it in development and everything was right but i'm getting a totally different response in the route /oauth2/token then what i was receiving during my tests. The app environments are the same and the code too, so i'm lost over…
-
How to Use Dropbox API to Organize and Save Files from External URLs?
Hello Forum Members, I have a project where I receive public URLs of files, and I need to save these files to a specific folder structure in Dropbox. The folder structure in Dropbox should be organized as follows: Parent > Year (dynamic) > Month (dynamic) > Number tokens (dynamic). I'm wondering if it's possible to achieve…
-
HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/file
Hi, Trying to integrate odoo to dropbox and getting below error. HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/files/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2426)'))) What can we do about this? How to resolve this error?…
-
Rename folder - Getting async_job_id
I am renaming a folder via https://api.dropboxapi.com/2/files/move_batch_v2 (using that to avoid"lock contention"). And I am getting this returned: {".tag": "async_job_id", "async_job_id": "dbjid:AADB5ZMuOs7nIAy6oJ2NYg0MkdhI6nlw_Kb5bfLyb7LxBS1x_e5JfQuktSrgq7kXjKxbPFwHIly3aWR2YWt0BXqt"} What is this? I am expecting to see…
-
Dropbox Path Filermaker Api
Hi, I'm trying to upload some data to dropbox through Api with Filemaker, the data is uploaded but it's saved on the root path instead of the Dropbox Path I'm sending. JSONSetElement ( "{}" ; [ "documentID" ; dropbox__DOCUMENT__dropboxID__cre::__kptID ; JSONString ] ; [ "documentName" ;…
-
concurrent upload in chunks
Hi, I have done concurrent upload in chunks. My code is fine, and doesn't have any errors. But when I download them, I can't open them My code : My file has been uploaded to dropbox: And I can't open it when I download it:
-
2/files/get_metadata 409 path/not_found
We have been seeing the following 409 error recently on multiple customers where get_metadata fails with 409 path/not found. But later when diagnosing the problem the same call works fine. Is there a possibility that this API call fail soon(like couple of minutes) after the file uploaded. curl -X POST \…
-
image missing in uploaded pdf
Hi, I have uploaded pdf file using upload dropbox api..Pdf uploaded successfully.But Attached image not showing in uploaded pdf..
-
Webhooks
Hi there, I setup a basic OAuth2 client app against Dropbox, added features like file upload, download, and also wired up the webhook. I am getting the POST notification event every-time a new file or folder is being created and also anytime the user is making changes in the file's content, updating the existing file. I…
-
List all tags
Is there a way to view all tags on the account via API? I see https://api.dropboxapi.com/2/files/tags/get ... but for this you need paths to items. I want all tags for all folders or files. Is that possible?
-
Not able to access the folders inside scoped app folder
There is a scoped app folder , and Im trying to access a zip file in a folder called "myfolder" in the Apps folder . In the script , I gave the dropbox path as /Apps/myfolder/download.zip , however while Im running the script it says : Invoke-RestMethod : {"error_summary": "path/not_found/...", "error": {".tag": "path",…
-
Bitdefender returns me this message and blocks the file from downloading.
https://github.com/dropbox/dropbox-sdk-dotnet Is this an official source? Downloads\dropbox-sdk.zip tried to load a suspicious source detected as Amsi.Edge.22.C2AFDFF1 and was blocked. Your device is safe. Bitdefender returns me this message and blocks the file from downloading. I can't turn it off on my work computers.…
-
Listing members in a team via Python
So, the event we receive via webhooks to a 'full dropbox'-scoped app looks like: [2023-09-15 22:55:42,859 wew.handler_plugins. DEBUG] Received Dropbox event:{ "delta": { "teams": { "dbtid:AADBsJ4zo2S_tS_n3iyHzatB4h16n2yT-2c": [ "dbmid:AAAfY_5hmDSrYzFkd7T2BrWPPepevkydBY0", "dbmid:AAA22dYwGQDF4xFp03M2NWEZq_7jgJV0XX8",…
-
Delete file from Deleted Files folder(dropbox Recycle bin)
Using HTTP API, there is any endpoint to delete the files from Deleted files folder(Dropbox Recycle bin)?
-
Failed to Load Request Error when using DropBox Chooser API
We use the Dropbox Chooser API and have recently started having a problem with it (from last two days). Now when the user selects a file from the Chooser pop-up then clicks "Choose" to confirm their selection, an error appears saying "Failed to load request". The pop-up window does not close and nothing is returned to our…
-
media_info=NOT_SET even if they are actually visible from web interface
Hello, I'm using Python APIs. When I try getting metadata for one JPG file from a folder, for example using dbx.files_get_metadata("path/to/image.jpg") I see the tag media_info=NOT_SET. On the other hand, if I go to the browser and check the file, in the toolbar I see this: Any idea on why this happens?
-
Error: property_groups: expected list, got string
I am trying to add property groups to a file with https://content.dropboxapi.com/2/files/upload and I am getting an error "HTTP header "Dropbox-API-Arg": property_groups: expected list, got string". How is my property groups a string? What am I doing wrong? $meta = array( "name" => "this is something" ); $fields = array(…
-
Need Assistance with Enabling Permanent File Deletion in Scoped Dropbox App
Hello, I hope you're all well. I'm encountering an issue while working with the Dropbox API, specifically regarding permanent file deletion, and I'm seeking your assistance. I've created a scoped app in the app console and configured permissions in the account info, files and folder, and collaboration sections. My goal is…
-
Using the Dropbox API, can I populate a repeated group with images?
I'm at a loss. As a Dropbox developer, I created an app and received an access token, app key, and app secret. coreball The API connector requests the following information: username, password, token endpoint, and "shared header" key and value. I'm not sure what codes to enter where.
-
API Newbie: Authenticating and using on client side while keeping accessToken/App secret hidden
Hi, I am unable to figure out the flow to get clients who are logged in to my app to access Dropbox without creating a `const dbx = new Dropbox({accessToken:<MY PERMANENT ACCESS TOKEN THAT SHOULD BE HIDDEN>})` class. I can authenticate the server on the back end but then I don't want files to have to go via the server,…
-
The connector uses the Dropbox API
I'm attempting to print logs for Dropbox aggregating and provisioning operations in order to determine which API is being used by the connection and what response they are receiving, but none of the logging are functioning. I tried full VA level logging, however it did not print anything other than usual provisioning logs…
-
Python API Error Upload SSL
Tengo el siguiente error cuando intento hacer upload de un archivo utilizando el ejemplo de github example/back-up-and-restore/backup-and-restore-example.py archivos pequeños de 10Mb lo sube sin problemas pero uno de 20Mb ya salta el error Versiones utilizadas en Windows 10 Pro x64 y Windows Server 2008R2: python:3.7.0…
-
Upload string value to file - PHP
I need to upload a simple string via api - there is no "file" on the server - the string will be generated in my PHP code. First, does it need to be in binary? Second, when I upload, I get a "1" written into a file - and thats it. How do I get that string uploaded? I don't get any errors back. Help! $fields = array( "path"…
-
Use RootNameSpaceId or HomeNameSapceId
Hello @Greg-DB We have developed a migration app that one of our customers used for migration files from Windows to Dropbox. The migration worked fine except that the files were migrated in a different folder from the one selected by customer. I then read Dropbox Team Files…
-
Generate access token without client interaction using Dropbox SDK (C# Api Project)
Hi Folks, I have a C# API project which has a service that downloads video assets from different sources, i.e., Azure Blob, AMS, and other client environments. The new client came in with DropBox as the source for videos, and I am finding difficulty in implementing the OAuth flow. Please note that there will be no user…
-
Error: "request body: id... did not match pattern"
I am trying to get contents of a text file via https://api.dropboxapi.com/2/file_requests/get and I get this error: "Error in call to API function "file_requests/get": request body: id: 'id:Jc0ALBXAshIAAAAAAAB3tw' did not match pattern '[-_0-9a-zA-Z]+'" Here is my relevant code: $fields = array( "id" =>…
-
"Add a few details about this folder" - how to access
Dropbox allows you to "Add a few details about this folder..." under folder properties. Is there a way to fetch that info via api? I couldn't find it in your documentation. I don't see it under folder_metadata... Is that possible at all?…