-
PHP cURL chunked upload
Hi I have built a PHP to automate backups to dropbox amongst other things. everything works well with the exception of chunked upload. * No Errors are returned from dropbox at any point in the transaction * I am using split to chunk the file into 50mb chunks * run a foreach loop to upload the chunks via "Dropbox-API-Arg:…
-
BadResponseException: Bad JSON: expected object value
Hi, we are getting few errors of this kind com.dropbox.core.BadResponseException: Bad JSON: expected object value. at [Source: java.io.ByteArrayInputStream@3f3408aa; line: 1, column: 143897] at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:158) at…
-
Access token
I use Dropbox API for only /download method. To access it, I've generated an access token by clicking on the "<get access token>" button from the example. How long does this access key "live"? Are there any restrictions on the number of requests for this method? If my scheme for working with the API is wrong, which option…
-
No more long-lived access tokens, whats the best strategy for own account usage?
Hi all, out situation looks like the following: we are simply sending the file to the upload url by dropbox providing an long lived access token to OUR account. But this is not going to work starting end of september, since long lived access tokens are not supported anymore. To fix that, we wanted to implement the…
-
Get all the data of an account using date range filters.
Hi Team I am trying to achieve all the files which can be stored in dropbox account based on date range and keyword filters. I can see the endpoint to get data based on keyword filters provided using https://www.dropbox.com/developers/documentation/http/documentation#files-search endpoint. Please let me know the API…
-
how to download multiple files using java sdk
Hi , I have created single user app. I am trying to download multpile files from dropbox. So Do I have to download file by file? Or can I batch all the files and download as a zip?. I was able to download whole folder as a zip. But I want only specific files inside that folder and download them at once using java sdk.. is…
-
video on my site
good day! I want to embed a video on my site. Everything was fine before, but now my videos on the site have stopped working. Is this an account lock? With what it can be connected? Copyright? According to the link, all videos work, videos do not work only after embedding the code on the site. At first they work for a…
-
Folder-scoped API access tokens?
Our company uses Dropbox for all document storage, teams work together on documents in large folder structures. My team of developers is wanting to use an external service to sync these documents from Dropbox to another system so that we can process these documents. We'd like to be able to issue tokens which are scoped to…
-
error: invalid code verifier
Hi. I'm developing a C++ application that needs to connect to Dropbox. I'm stuck at implementing OAuth. As documentation suggests: code_challenge String?(min_length=43, max_length=128) Part of the PKCE flow, the challenge should be an SHA-256 (S256) encoded value of a string that will serve as the code_verifier of the…
-
dl=1 option error
Hi, Until recently, I downloaded a file using the dl=1 parameter in my C++ code. ex) https://www.dropbox.com/{private_url}?dl=1 But now it doesn't work. If use Python's requests module with the same URL, it will work. And when you call another URL(not dropbox) with the corresponding C++ code, it is worked. This is my code.…
-
Dropbox SDK JS + Refresh token problem
Hello Please, do you have any idea how i can manage this ? Each 4 hours i get "expired_access_token" and user must re-log. I just upgrade my old Dropbox SDK JS to the last version 10.8.0 + I did the changes to be compatible. I have one Cordova app (iOS/Android/Win10). The goal of my app is to : 1. User connect on dropbox…
-
Unable to access shared team folder with Python API
I have in the past been able to access files in the dropbox account with python. We recently upgraded to a business account with teams and shared folders. I can now only access the non-shared folders, it's my understanding that I now need to create a dbx class "as a user" to access the shared folders. This is my code: dbx…
-
Method Create_shared_link_with_settings
Hello folks, 1) Is the method create_shared_link_with_settings up to date? When I compare the settings with the settings in the front-end, it is not the same. For example the user can disable downloads in the front-end, while via API the user can set up only the viewer/editor/max access. 2) What are the possible…
-
Deshabilitar opcion de descarga al compartir una carpeta con api de dropbox
Hola: Estoy haciendo pruebas con una cuenta de paga profesional, y al crear el sharedlink de una carpeta, siempre me muestra la opcion de descargar contenido. ¿se puede crear un sharedlink deshabilitando la opcion de descarga de todo su contenido y que solo sea para visualizar? Ahorita estoy creando el link de esta forma:…
-
View only no download for Audio File by api
I am working of Dropbox .NET API to access the files and create shareable links. I want to share some audio clip to other people, and I want that other people can just able to listen to the file, they must be not able to download those file. In Dropbox .NET API I am creating a sharable link but I am not getting an option…
-
Bad JSON: expected object value. exception while uplaoding a file using dropbox Java SDK
Hi all, I am trying to upload a file using dropbox Java SDK (version 3.1.5). I amgetting file from a ajax form and then trying to upload it but getting the below exception when calling uploadAndFinish() method. com.dropbox.core.BadResponseException: Bad JSON: expected object value. at [Source: ; line: 1, column: 1] at…
-
How to check that my App is compatible with the new features of Dropbox (token, security...)
Hello I'm trying to know how to check that my iOS/Android/Win10 will be compatible with the new features of Dropbox (token, security...) ? Best regards
-
Dropbox API .NET SDK: Modifying shared link password issues.
Hello everyone, Seems that there's an issue in the SDK with modifying shared link settings. I am using Dropbox.Api Nuget V6.13.0. with an Admin-accessed internal app. I am able to set up passwords on client folders, but I am unable to remove passwords on those folders through the API. To expand, the SetLinkPassword()…
-
authorizeFromControllerV2 error when authorizing
I am trying to switch from a long-life token to a short one. I am using SwiftyDropbox SDK version 7.0.1 I am following the instructions on the readme tutorial on GitHub: https://github.com/dropbox/SwiftyDropbox/tree/7.0.1 In the "Begin authorization flow" section, I change the function to: authorizeFromControllerV2 Now…
-
Get user's email with HTTP endpoints
Hello, I want to retrieve some account info like the email address of an user. Is there a way to do it using HTTP endpoints? If not, is there another way? Thanks.
-
Issue with a requesting public file
Hello, when I try to retrieve (by HttpClient netcoreapp2.2)public file I always get 400 Bad response And I found out that during retrieving server return 302 (Redirect status) with header Location that ends with '#' If I go by this uri I will get Bad response. but if I remove trailing symbol it will OK. And This behavior I…
-
GET request from FTP server throwing 400 error
We need to run GET requests from an FTP client to download the content and we’re getting a 400 error with an error message saying that something went wrong on Dropbox's side. Our method has previously worked, so it appears something has changed on Dropbox's side and we need an urgent answer. I'm trying to post the 400…
-
Error 400 when trying to access file using "WinHttp.WinHttpRequest.5.1"
Hello, i am doing simple download utility for my clients. I am using Autohotkey. The issue is that since 17.8.2021 the clients started to report that its not downloading from their dropbox anymore. Here is what i am calling and what i am getting. Please help. What was changed on dropbox that it stopped working. What should…
-
Query Dropbox API
Hello. I am trying to query Dropbox using python's from dropbox import DropboxTeam request_json_object API. I need to query the API path: files/list_folder My request look like request_json_object(dict( host='api', auth_type='team', route_style='rpc', request_binary=None, route_name='files/list_folder',…
-
/team_folder/list gives has_more false altough the Team has a shared Folder with full permissions
Hey folks, we just testing the Business Advanced Plan. Wenn calling the https://api.dropboxapi.com/2/team/team_folder/list I get the "has_more" key with value false as response. POSTing the cursor to /team_folder/list/continue gives me an empty array of key "team_folders". But the Team I'am in has definitely a Team Folder…
-
iOS Publishing: What things I should do before submit new version to my alive app.
Dear team, I have an alive iOS app on App Store. It support a few cloud drive service like google drive. And today I have integrated your SDK into my app. Now my app could list folders & files, filter files and download files in Dropbox. It is working well:-) If there is more steps I need to prepare before I submit a new…
-
short-lived access tokens
Hi, My company has an application that uses dropbox API, to upload files to drop box. We got an email that said that there is an update in the access token. I tried to understand if it will affect our application, and we should move to the new API, but I wasn't sure. We are using a long-life access token. I understand that…
-
Not able to list all connected apps
I am using dropbox business API to list down all connected apps linked to the team members accounts using below API. But not able to list them all, It returns only few apps . Connected Apps from Console https://www.dropbox.com/developers/documentation/http/teams#team-linked_apps-list_members_linked_apps Below is the liked…
-
List file members for files under Shared or Team folder
I want to list all shared files and their members in dropbox account and find below to do that. 1. List all namespaces with API "/2/team/namespaces/list" 2. Iterate namespaces and make API call "/2/files/list_folder" to list files and folders associiated to that namespace 3. Namespaces which are associated with user's…
-
No CSRF Token loaded from session store.
I'm trying to integrate a spring boot application with Dropbox, the application is working perfectly locally however I have this error "No CSRF Token loaded from session store." in production. I'm using SDK 4.0.0. Note: The application works a few times in production but the error continues most of the time