-
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 teste 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…
-
Getting File Metadata after doing upload - Android
To upload in Android I am using sDbxClient.files().uploadBuilder(pathName) .withMode(WriteMode.OVERWRITE) .uploadAndFinish(inputStream); which returns, what? The docs say it returns the server response as a "R". How do I extract the file metadata from the server response to uploadAndFinish? I want to get the server…
-
Upload Image with Dropbox API
Hi, When Iam uploadinh the image using the curl code.The response is 200 ok,but when iam viewing the image in the dropbox .It says unable to preview this type of images.My code is: $fields ='@'.'test.jpg'; $headers = array("Authorization: Bearer ".$token,'Content-Type: application/octet-stream', 'Dropbox-API-Arg:…
-
How to verify token correctness after instantiating DbxClient?
I'm verifying several things during my component initializitation, one of which is the "state" of the newly initialized DbxClient. Is there any way to determine whether the token passed as a argument is correct or the general host is responding? I would expect methods like "assertTokenCorrectness" or…
-
Failed to set webhook
When I try to set a webhook URL to dropbox I got the folloing eeror mesage. "in dropbox webhooks Operation timed out after 10000 milliseconds with 0 bytes received"... And also I struggled alot to know the what is the exact format of the webhook URL and what are the perameters which I have to pass. I request and suggest…
-
get_shared_links returns empty array
When I call the get_shared_links API with a path, I get back a 200 but an empty links array. So in this scenario I call create_shared_link_with_settings. This API returns a "shared links already exist" error. I am passing in a path of /Records/paul/Births/Thompson-Hayward-20160403133425.backup and my app is…
-
How to appear "Sign in with Google" button in the login page using Embeded WebBrowser (C#)
I am building c# application for connect DropBox. For DropBox authente, I display dropbox login page within IE embed browser using api like this, var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, ClientID, new Uri(RedirectUri), state: oauth2State); AuthBrowser.Navigate(authorizeUri); In the…
-
Get the URL path from a link bookmark .url file
Hello, In my dropbox folder I have a bookmark to a website URL. For example: http://www.google.com - this will be saved as 'Google.url' in my dropbox folder. Which API will return 'http://www.google.com' so that in my app I can make this a clickable link? Thank you, Andrew
-
I can insert brackets naming a folder? ... warning say brackets aren't allowed ...
-
Developer vs Production
Not sure if this is the correct board. The developer part of using the api states that you can have up to 500 connections. However, once I reaced the 50 mark, received a letter saying: "...you have two weeks to apply for and receive production approval before your app's ability to link additional Dropbox users will be…
-
Retrieve with a File limit and File count
Last post i've do on answer on another topic asking about app folder or full dropbox, and how to detect, was completely not necessary, once i've see how API answer in these cases and how all work about. Now, i've see there is around a post about files count and folder quota (if i'm not wrong on remember) but from the…