-
What is the call for logout from current Dropbox account?
What is the call for logout from current Dropbox account? I followed exactly same procedure to configure my project using SwiftyDropbox. I have called this to logout button in my code: DropboxClientsManager.unlinkClients() But when i again login with code: import SwiftyDropbox func myButtonInControllerPressed() {…
-
Understanding how the metadata API works and updates files
Hi, I'm developing a desktop application that allows users to view and add file metadata. The metadata is stored separately from the files themselves. I'd like to integrate this with Dropbox, and I figured that Dropbox's metadata API was a logical thing to use. In order for the application to work efficiently, it'll need…
-
Dropbox API download errors
trying to get the Dropbox API for android studio. i want to download the github repo and run the examples. i ran the following code like the README said: $git clone https://github.com/dropbox/dropbox-sdk-java.git $cd dropbox-sdk-java $ ./update-submodules When I then try to run $ ./gradlew build I get a fail with this…
-
api v2 token expired !
Hello Everyone, I noticed my api v2 oauth token expires after 4 hours. Is there anything i should modify in my account settings for the oauth token to never expire ? If not, is there any workaround i could use to refresh the token automatically ? thank you, Anouk
-
Certificate Pinning with v2 API
Does the v2 API support certificate pinning automatically, or is it an option? What I know about pinning other than the basics can fit on the head of a pin. The last full discussion I found on the forums here was from 2015. Any help/guidance is appreciated. Thanks!
-
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…