-
upload API only works for very small files
Hello, I try this command from my raspberry pi 2 with raspbian buster: curl -v -X POST https://content.dropboxapi.com/2/files/upload --header "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --header "Dropbox-API-Arg: {\"path\": \"/README.md\",\"mode\": \"add\",\"autorename\": true,\"mute\":…
-
Sync application-defined alternate data stream
Hi, I'm developing a Windows application that uses an alternate data stream to store file metadata. Is there a reliable, supported method for having this alternate data stream sync over Dropbox? According to this page, Dropbox has some designated alternate data streams that it syncs. I was wondering if we're allowed to use…
-
php curl and data input for standard api curls
I know about the authorization and Content Type headers for each curl request I do to the api. But, when I am required to provide data when the require Content Type is application/json, should I include the data in a json encoded array with my http header, or should I reserve this json encoded array for the post fields…
-
Get file's url of my folder to use it on html template
I will try to be as clear as possible since there are some things I do not fully understand how they work. I am developing a page in which an administrator can modify the image of one or any product that he wants, therefore I am storing the images in my dropbox developer account, there is no problem uploading the image on…
-
App has been frozen pending review
This message has appeared when we tried to authorize a newly created DropBox account through oauth2 api: "This app is unable to link additional users because it has been frozen pending review." That appears right after the authorize request is sent: https://www.dropbox.com/1/oauth2/authorize?... I'd like to…
-
Calling startOAuth2Authentication browser never closes and return to my app
Update After many tests I found that the Browser on the device is outdated. I installed the latest Chrome browser and the problem still persist. The only browser that is working is Firefox. Is there problem with Dropbox api and specific version of the browser/Android OS? ----------------------------------------------------…
-
redirect_uri mismatch with unknown cause php
I was using my php curl to request a token from the api. I set up my parameter array correctly. However, I get this error in return :{"error_description": "redirect_uri mismatch", "error": "invalid_grant"}400 This was my implementation: $dropbox_url = "https://api.dropboxapi.com/oauth2/token"; $timeout = 40; $app_key =…
-
How to fix this issue? ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h' file not found
I had a source control issue causing me to manually merge two different streams. All my code seems to be there, but now in the app delegate I am getting the error noted above on the import statement in my AppDelegate #import <ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h> I can see the POD, but no idea what is going…
-
Dropbox Saver API url as base64 works when upload 1 file when upload multiple i got error?
Hello, i used "https://www.dropbox.com/developers/saver" Api and based on document to upload multiple file i send list of base64 string to dropbox, but i got an error fail to upload, when deselct all files and leave 1 file only it uploaded correctly ? and here sample code var options ={files:[]}; for (var i=0;i<…
-
Displaying Files of A Folder
Hello, I'm trying to display all files of a given folder of a team. So, I set the dropbox api (full dropbox), authorized and made the call list_folders. When the path is "" it returns the files of my personal folder, but when I want files from a folder that other team members can see too it shows nothing... ex.: putting…
-
How can I get the folder path on shared URL?
i need to get path folders on shared shared url, how can i do this? and i need to download files and folders over the shared folder url passed
-
"504 Gateway Time-out" when uploading files via http request (php)
Hello =) Recently we started to have issues with uploading files from our websites to dropbox via http request (php). Right now we can barely upload one or two photos. It now takes far more time to upload even small files and usually we get '504 Gateway Time-out' error. Also this thing started like two weeks ago,…
-
Javascript Saver fails with URL.createObjectURL(blob)
var optionssave = { success: function() { console.log("Yay! File saved to dropbox"); }, cancel: function() { console.log("Whoops file not saved!"); }, error: function(errorMessage) { console.log(errorMessage); } }; var blob = new Blob([setxml], { type: "text/plain;charset=utf-8" }); var bloburlsav =…
-
Dropbox equivalent of os.walk() for python
Hi, I'm looking to list all the files in folders and sub-folders of one dropbox account with Python v2 API. Is there any equivalent of os.walk() in the API? I can see that we have files_list_folder() but this does not list the files in sub-folders. Also is there any function in the API which provides the file types, for…
-
download file
Hello, I am trying to download a file and I always get "HTTP/1.1 400 Bad Request" I am using in embedded app with wifi. I did send the follows in buffer "POST /2/files/download HTTP/1.1\r\n" "Host: content.dropboxapi.com\r\n" "Authorization: Bearer <my auth>\r\n" "Dropbox-API-Arg: {\"path\": \"/FW_Upgrate.bin\"}\r\n"…
-
header array invalid request for token auth php
I have been trying to get the header array for my php curl working. This is the structure of it. $http_headers = array( "Authorization: " . base64_encode($app_key . ":" . $app_secret), "Content-Type: application/x-www-form-urlencoded", "Dropbox-API-Arg: " . json_encode(array( 'code' => $code, 'grant_type' =>…
-
App Code and App Secret Input php curl
When I add the required app code and app secret for the 0auth2/token curl, should it be placed in the http header, or in the curlopt_postfields setopt? If it goes in the http header, should it be a seperate item in the array, or in my json encoded array with the other 3 parameters?
-
API oauth code/token storage php
What array variable get returned to following the redirect uri upon a successful oauth2 flow on my app? Is it stored in a variable like $_GET['code'] or something like that? I tried checking for it in a variable and I recieved a error that the variable did not exist.
-
Uploading multiple file with session Typescript
Hi, I'm facing an issue with the UploadSessionFinishBatch method with TypeScript. I'm having this error : Error in call to API function \"files/upload_session/finish_batch\": request body: entries: unknown field 'contents It seems like the "contents" parameter is not supposed to be here and makes the call crash. But in…
-
Unable to receive authorization code in Redirect URI
I am trying to call 'DropboxOAuth2Helper.GetAuthorizeUri()' method with 'OAuthResponseType.Code' but unable to receive code in the redirect URI but when I use the response type as token, I am able to get the token in the URI. Please let us know if there is any way to get the code in the redirect URI.
-
Bug Dropbox sdk
im using dropbox SDK for java version 3.1.3 but allways got this error when i try to share or list foldres, PLZ help
-
Error 500 on /2/files/upload_session/append_v2
Hello! Unfortunately, the errors returned. Can you check please the following IDs? [2020-02-25T17:11:20+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, X-Dropbox-Request-Id 'ac3d93c4ae963c97400d44c597efede5' response…
-
iOS 9 website login
I realise that the Dropbox app has dropped support for iOS 9. But it also seems that you can no longer login via the Dropbox website (I tried several browsers with no luck). The 'signin' button is always greyed out. This means my app users can no longer use Dropbox at all on iOS 9 since they cannot link the app to their…
-
/2/team_log/get_events not returning events
There was a file_add event which happened at "timestamp":"2020-02-10T19:10:20Z" And during the day we were making API calls every 15 seconds with the following parameters, 2020-02-10--19:52:21.101 https:/ /api.dropboxapi.com/2/team_log/get_events,…
-
System.AggregateException path/not_found
I am trying to builg a simple app to extract a file from dropbox and save it on my computer. I have verified the token, the files exist on dropbox, it's location and the directory on my computer. The code I have put together keeps giving me an error "path/not_found/" Any assistance would be greatly apprecaited. Thank you…
-
not getting geo_location on audit logs
Hey, when I use get_event (https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_log_get_events) 1. the geo_location property inside the origin of the event sometime not exists. 2. sessionId is an empty string logging like: "origin": { "access_method": { ".tag": "end_user", "end_user": { ".tag": "web", "session_id":…
-
Error 500 on /2/files/upload_session/append_v2
Hello! We have random error 500 when we tryed upload files. What reason can be? [2020-02-17T22:51:06+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: ''' [2020-02-17T23:24:48+03:00] ERROR…
-
The address is not understood error authentication
When trying to authenticate my web platform for file upload using the 0auth2 code flow, I experienced a error. I got my php code to use a header to reach the correct dropbox url for 0auth which worked. I log in, and press accept to allow the app to work with my account, then I get a error in firefox "The address was not…
-
API for appinventor.mit 2
I've learned to do some app building with appinventor.mit 2 and I'm now looking to create and upload to a database. I was wondering if I could store and retrieve to a database from within my app without Dropbox opening?
-
Dropbox Chooser Query
We want to use dropbox chooser to import files into SITS, our Student Records System via the webapp. We have a couple of questions we need to confirm the answer to before we can integrate this. * When the student clicks "Upload from Dropbox" using the DB chooser app, are the files uploaded into our Dropbox account before…