-
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…
-
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…
-
Issue medata api v1
Hello ! I am using the request metadata of your api v1 and i am getting successfully the contents of my directory. But it doesn't show / count the files with the Extension .zip, gg, ggb and ggt. I am not used to http request. So it's mostlikely that i am missing an argument or something else. The request :…
-
Use Dropbox as storage for site
Hi. I want to use dropbox as off-site file storage. But I have doubts that dropbox doesn't mind of usage which I am considering. How I see it: I have page on site where signed in users can communicate with site's admin. I want to give the users an ability to upload files in dropbox without need for this users to have an…
-
Member Usage Reporting
In the Business account Admin console the members list has 3 columns. Name,Status and Usage. The usage column shows total disk space being utilized by the user. Unfortunately there is no way to export this view. I need the usage data for an internal audit. Is there a way to get this information programatically (via java…
-
Get Quota/ vb.net DropboxClient API
Hi, since one year i use a small "tool" to upload my files to DB periodically. Getting used space works fine too, but how can i request the total quota / remaining free space? Dim box = Await dbx.GetSpaceUsageAsync() But i dont see a suitable namespace / attribute to get my needed value. I just checked the documentation…
-
direct connect to api host using ip address is available?
Hi, I'm trying develop using dropbox's api. Since our development environment, we're planning to send HTTP request using "IP adress". such as , "url -x POST https://X.X.X.X/2/files/upload --header ....." instead of "url -x POST content.dropboxapi.com/2/files/upload --header ...." However, This trial seems to denied on your…
-
Dropbox file download with share url via api
It's possible to download a file in dropbox knowing the share url , for example: https://www.dropbox.com/s/gjfpl9m4f88oeqz/htaccess.txt?dl=0 using the API?
-
dropbox-core-sdk upload memory issues
I wrote simple app to test upload with dropbox-core-sdk 2.1.2. It opens stream from a file located at Dropbox InputStream fileContentStream = getClient().files().download(path).getInputStream(); and passes it to upload method (within same account, but should be same even for different accounts):…