-
How to use proxies with Dropbox API ?
dbx = dropbox.dropbox.Dropbox('***************') f = open("/home/net/a.py", 'rb') data = f.read() try: res = dbx.files_upload(data, "/a.py", dropbox.files.WriteMode.overwrite, mute=True) I want to use a proxy, how to do that ? Thanks!
-
[Java SDK V2] too_many_write_operations while uploading
Hello, we are uploading a quite a lot of files in 4-6 threads and it is very likely, that other users write into our repository at the same time. Today we started to get "too_many_write_operations" error: Caused by: com.dropbox.core.RateLimitException: {"error_summary": "too_many_write_operations/.", "error": {"reason":…
-
How do I upload a PDF file with Swiftly Dropbox
i can't seem to get a file upload properly with the new v2 Swiftly Dropbox. Can someone please give me and example? Im trying to upload a pdf file with images and markup text. thanks in advance.
-
Clarification on support for OAuth 1
It was recently announced that Dropbox API v2 would support OAuth 2 only. Does this mean that existing apps which use OAuth 1 will stop working when API v2 is rolled out?
-
Access token invalid after upgrading to API v2
Hello, My application has been using the Dropbox API v1 for a while now, and I'm in the process of updating it to support Dropbox API v2. The issue I'm having is that existing v1 access tokens (which my app stores) are no longer working when communicating with the v2 API. Attempts to use a v1 access token yield a "access…
-
Objective C Console Errors Should I be worried?
Hello, (First sorry for the new user name, it wouldn't allow me back in...) I sucessfully upgraded my app to use API v2 Objective C - however when running from the simulator when checking if I have an active account I get the following errors in the log - but they don't seem to stop anything and I can't locate where they…
-
[has_more] => 1 (but there are no more files to retrieve)
Hello, i found a problem on calling shared links, that i've finally resolve, with a further check after, but it is not clear to me (maybe it is normal). The App type is an App folder, in the dropbox test account there are more files, but are out of the dedicated APP folder. A curl to get shared links, return [has_more] =>…
-
Dropbox for Business get user id from email address
Hi, Is it possible to get a dropbox for business userid via the users email address. I can see an end point to get all users. Just want to double check if there was another endpoint to search for a user. Thanks
-
DbxRequestUtil.unexpectedStatus
Started seeing a lot of these today, what do they mean? Caused by: com.dropbox.core.ServerException: at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:296) at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:107) at…
-
Auth Code validity and rate limit.
Hi Team, I have 2 questions. 1. What is the auth code time limit or validity like 2min or mins. can anyone tell. 2. What is the rate limit of API. (API limits). I am using API for mainy user creation/updation/deletion operations. Thanks.
-
SwiftyDropbox was compiled with optimization - stepping may behave oddly
Using Carthage to build and use Swifty DropBox. For the main part it works well, but seem to be running into an issue relating to optimization every now and again as the subject line says. How can I compile without optimization and install with Carthage? Thanks
-
Error response is coming into different different format
Hi, I have tried to get account through this API https://api.dropboxapi.com/2/users/get_account using SOAPUI and passing account_id in request body. { "account_id":"dbid:AACCsTU3d_-j5rfgJkGLObJErDLctQmUZw0" } If account_id is incorrect but having 40 character then error is coming in to JSON formate { "error_summary":…
-
Invalid OAuth token handling
I'm writing directly against the v2 HTTP API and while testing our login and error handling, I found some unexpected results. If I take a valid OAuth token and corrupt it (change the first character, for example), or just give it a garbage string (say, "abc") the response is either 500 Internal Server Error or 400 "The…
-
Cocopods API v2 installation "Unable to find a specification for `ObjectiveDropboxOfficial`"
Hello, I am attempting to install API v2 into a sample Mac OS project using cocoa pods and get "Unable to find a specification for `ObjectiveDropboxOfficial`". I don't have a lot of experience using dependency managers. What am I doing wrong? Please see output below. Podfile content:…
-
SwiftyDropbox error handing for thumbnails
Finishing off my dropbox based app and trying to put in some comprehensive error code. Downloading thumbnails within it and crafted this method based on the documentation. Seems to work, but wanted to double check I am on the right track. func doThumbError(error: Any) { switch error as!…
-
HTTP API Regional URL
I have read that you now have 11 regional zones. If we use the HTTP API do we need to add support to support this? Or is this routed by the API infrastructure itself.
-
How to differentiate between file and folder delete in list_folder_continue call
Hi, I am working on webhooks for dropbox and struggling to find a way to differentiate between file and folder deletion for https://api.dropboxapi.com/2/files/list_folder/continue API call. Currently for both the events i am getting exactly similar kind of response. i.e, File delete: { "entries": [ { ".tag": "deleted",…
-
Byte order marks on challenge response
I set up a Node.js server to respond to the API challange request for a webhook. I can't seem to get it to accept the challenge. I can't tell if it's appending byte order marks, or if Node.js is secretly sending them. I masked out some of the info below, but I kept the key parts. Notice the extra "\xef\xbb\xbf" prepended…
-
Renaming a file/folder using swifty dropbox
Hi, Sorry, a stupid question. I want to rename a file within my dropbox using the swifty dropbox API. But I don't find a rename method and I wanted to check with you the procedure I should be using? Thanks Mark
-
.NET longpoll error
I got the error after the ListFolderLongpollAsync call as follows. Dropbox.Api.BadInputException' occurred in mscorlib.dll Additional information: Error in call to API function "files/list_folder/longpoll": request body: cursor: unsupported cursor type The api version is 0.1.6165.22196. Thanks in advance.
-
Behavior: create_folder do not share a subfolder, if path_lower contain chars like ' . And happy NY!
Just 1 hour after 00 of the last day on 2016 ... Happy New Year to all! Finally 2017 is coming! My last 2016 problem :) ... maybe as always due to the fact i've not well read/understand something ... I found that calling create_folder to create a folder on ROOT naming the folder like this, with the ' char inside:…
-
testing API in Powershell: "expected null, got value"
After looking through posts as well as the .ps1 files being used in the AD sync tool, I was trying to run some simple data gathering api calls to get a feel for things however when I try to run a 'get_current_user' I get an error that it was expecting a null body but received data. If I forgoe adding a body property, it…
-
Briefly: What is the main differences between API V2 and Business API?
Hello fellas, anyone can give me an short explanation of the main differences between V2 and Business API? (Feel free will if you want to give me a detailed explanation also hehehe) Thanks in advanced.
-
If use files/append_v2 with close=true need finish?
There is a new API files/append_v2 with the close=true. Do I need to call Finish if I specify close=true on the last append_v2 call? That would save me one API call to the server. Also, what does the close really do? I can't find any documentation on what it means.
-
What is the difference between 'upload' and 'create_folder' ?
What is the difference between 'upload' and 'create_folder'?Because I type the 'upload' command passing a folder that don't exist, the command create automatically the folder with the file inside, in my view, the difference to the create_folder is that the create_folder just create an folder, already the 'upload' create…
-
Linking to subfolder
I have a shared folder with a URL like: https://www.dropbox.com/sh/{first gibberish}/{Second Gibberish}?dl=0 Using the API there will folders and subfolders created there. I was hoping to be able to directly link to those folders with URLs like: https://www.dropbox.com/sh/{first gibberish}/{Second Gibberish}/Test?dl=0…
-
How do I display the image data from the /2/files/download endpoint?
So I'm authorizing it properly, providing the correct headers in the proper format, retriving the response headers, and the data. But I can't seem to figure out how to display the information that comes out, it just comes out as a huge chunk of this: $.ajax(.........success: (data, textStatus, request) //data below…
-
Error "rate_limit/" when calling AddFolderMemberAsync
Hello. When I try to add a user in share folder like this: await dbx.Sharing.AddFolderMemberAsync(sharedFolderId, new List<AddMember> { new AddMember(new Dropbox.Api.Sharing.MemberSelector.Email(emailUser),AccessLevel.Editor.Instance) }); I get an error "rate_limit/", although I do not much call (6 calls). what am I doing…
-
iOS API v2: possible to overwrite files at upload?
I'm using the objective-c SDK for Dropbox API v2 and trying to do something which should be remarkably simple: upload text files to the user's Dropbox folder and if any changes are made to the file on the device, upload those changes. However, I'm running into a strategic issue wherein the code refuses to overwrite an…
-
Using token with API v2.
Hello guys, I learning about API v2, I was read the API commands and testing, so in my first commad ****** I have a trouble, I try type the command: curl -X POST https://api.dropboxapi.com/2/files/copy --header 'Authorization: Bearer null' --header 'Content-Type: application/json' --data '{"from_path":"","to_path":""}' and…