-
Java: How do handle 404 and 50x errors?
I'm migrating from V1 to V2. In the past I an error code was an integer that I could look at. Now it's part of a string I presume (i.e. getMessage()). There are no examples of how the errors would look like if these are 40x errors or 50x errors. How do I handle these? What should I expect, say, if the storage has run out…
-
Invalid_request: No auth function available for given request
Hi, i am getting invalid request when i am trying to authorize for my app using following URL: curl -X POST "https://<APP_KEY>:<APP_SECRET>@api.dropbox.com/1/metadata/link" \ -d link="https://www.dropbox.com/sh/748f94925f0gesq/AAAMSoRJyhJFfkupnAU0wXuva?dl=0" Response: { "error_description": "No auth function available for…
-
How do you create a shared link with a short url in the Obj-C v2 SDK?
I noticed that createSharedLink:shortUrl was deprecated, but I didn't see a proper way to get a short URL using createSharedLinkWithSettings:settings. Settings doesn't include a shortUrl flag. For now, I can survive with the long URL, but it would be nice to have the short URL like I was able to get in the Obj-C v1.
-
Did 404 change to 409 in v2?
I'm migrating Nebulous Notes to v2, and I noticed that if I sync a file that doesn't exist on DB, I get a 409, instead of 404. Is this intentional? I use the status check in my logic to determine whether or not to upload a file, and want to make sure I set it to the right code.
-
Dropbox Saver is giving problems
In principle some files were kept but corrupted and with a different size than the original url. But now after waiting a moment, saver throws me a message: This download attempt timed out, and does not save the files. Please could fix this problem. Thank you.
-
2/files/list_folder not consistent with results in path_display
When using the API list_folder (event with the API explorer), the results in path_display are not consistent. For example if I start with /CLIENTS I 'm getting a bunch of results and the results have all the rigth format for path_display /CLIENTS/Client1 /CLIENTS/Client2 /CLIENTS/Client3 .... But if I start…
-
Chooser - direct link not working
Hi, Is there an error with the Chooser and direct link type? Suddenly my app stopped working last night. Both IE and Chrome is tested. I can log in and choose file(s), but the link seems to be broken, it just times out with ERR_CONNECTION_TIMED_OUT error. If you see this within 4 hours from now, this is the link I am…
-
Share and get the link via api?
Is it possible to share the file via api and get its shared link?
-
The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*'
Hey guys I am using npm package to work with dropbox. However when I try to upload a file I get the following error XMLHttpRequest cannot load https://content.dropboxapi.com/2/files/upload. Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response…
-
How to migrate previous API v1 authentication to APIv2?
Hi All, So I've successfully migrated my Android app to Dbx API v2 (hooray!) but there's one bit missing. I need to tranfer previous APIv1 authentication to APIv2 otherwise everyone will be forced to re-authenticate, which is annoying. Looking online, I've seen various guides that look simple but they all…
-
Generation access token for V2 using V1 access key and secret key
Hi I have been trying to generate oauth 2 access token for my app (which was created using core api 1 in java), based on the documentation provided for migration but every time I tried it I got {"error": "Invalid app key (consumer key). Check your app's configuration to make sure everything is correct."}. I tried both the…
-
dropbox-sdk-obj-c issue
Hi there! I am new with your API but now I got a task to update it. I am trying to migrate our app from API v1 to API v2 and this is like hopeless fighting. First of all, we don't use any dependency manager. I tried to add as subfolder in our project and it failed to build. It complains about that some header files are not…
-
Sync Examples
When the retirement of the Sync API (and the turning off of API V1) was announced I recall there being a post from a Dropbox team member saying not to worry and you would be able to implement syncing using API V2. To facilitate this it was stated that examples would be provided to help out Dropbox Sync users with code…
-
API v2 listFolder with include_deleted: How far does that look back in history?
Hi, the documentation says about include_deleted: "If true, the results will include entries for files and folders that used to exist but were deleted." My question is: if I call listFolder with include_deleted, does that deliver all deleted items that *ever* existed in that folder, or is the scope limited by something…
-
When Dropbox API V2 will be stable
Hi, In "share_folder" operation, there is a field link_setting in which it is written that, LinkExpiry (open union)(The value will be one of the following datatypes. New values may be introduced as our API evolves.) So, my question is when Dropbox API V2 will be stable ? Thanks, Shashi Bala
-
app's team limit
Hello! Recently we stumbled upon an error while trying to authorize our app. The message displayed is below. This app has reached its team limit. Contact the app developer and ask them to use the Dropbox API App Console to increase their app's team limit. There was an issue raised on Github. can you please tell us what is…
-
authorizeFromController problems with Covenent Eyes
I just heard from a user of my Objective-C app that when my app tries to link to Dropbox, nothing happens. I am using: [DropboxClientsManager authorizeFromController:[UIApplication sharedApplication] controller:self openURL:^(NSURL *url){ [[UIApplication sharedApplication] openURL:url]; } browserAuth:YES]; and this works…
-
Getting Started with V2
I currently have v1 in my iOS apps. I can't even get started with V2. How do I get your Roulette sample to compile? I compiled the framework and included it in the Roulette "Include" sample and get nothing but complaints about ARC errors.
-
DBError, forward declaration
Hello, I'm trying to compile DBRoulette example in iOS SDK v2.0.6 and I get a forward declaration error: .../DBRoulette/PhotoViewController.m:53:65: Receiver type 'DBError' for instance message is a forward declaration I've searched throught the SDK but I couldn't find the interface for this class, am I missing anything?…
-
How to cancel the uploading process in API V.2(C-Objective) ?
Hello, In version API v.1 we have used the folowing APIs: - (void)restClient:(DBRestClient *)client uploadedFileChunk:(NSString *)uploadId newOffset:(unsigned long long)offset (to send a larcge file) [[self restClient] cancelAllRequests] (to cancel the uploading process) In version API v.2 wa are using the folowing APIs:…
-
Audit log access in V2 API ?
I would like to access the audit log for my Dropbox. I want to know who took action on what files, and when they did so. This is Dropbox for Teams so I can use the Business API. I see that the V1 Business API has /log/get_events. But I can’t find the equivalent endpoint in the V2 Business API. Can I access the audit log…
-
Properties API
Where can I find example for working with Properties API ? As I see in the doc before add properties to file I should create new properties template. But there is no any doc about properties/template/add. So, how to work with properties ? Where can I receive ID for properties template, that required almost for all…
-
Use of API method GET
Hi Support, I did not use the this kind of API https://content.dropboxapi.com/1/files/auto/<path> I am using like this https://content.dropboxapi.com/1/files/auto/Get Started with Dropbox.pdf is this correct . can you plaese give the example API for this . what is path ? give any example I have tried the all kind of path…
-
Revoke access token
Hi, I am trying to revoke the token when we trying to logoff the dropbox from my android app. it always showing some error. eg: https://api.dropboxapi.com/2/auth/token/revoke and set the header as "Authorization: Bearer <access token>" it would be fine, if you provide the correct url and how to use it android. Anil.S
-
Mapping webhooks users to accounts
Is there any guarantee that the order of "users" and "accounts" in a webhook notification body is the same? e.g. in the sample webhook notification below, does the user "12345678" correspond to the account "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"? { "list_folder": { "accounts": […
-
API v2 objective-c rate limit error hadling configuration?
Hi, I was wandering if Dropbox Objective C V2 library has a built-in way transparently handling retries when it gets rate limit errors. If not, what do you suggest I do to handle the case?
-
Dropbox Authentication URL
Hi, I am using the 'https://www.dropbox.com/oauth2/authorize/' url for enter login details for dropbox accounts with my android application. Now it seems 'sign with Google account' options, i would like know is any other option to avoid 'sign with Google account' options from this authentication webpage? Anil.S
-
API 1 vs API 2
Hi Support, While I am triying to access the Api "https://api.dropboxapi.com/2/users/get_account" its shown this site can't be reached. But i can use this https://api.dropboxapi.com/1/account/info So please provide the different between this two URLs. Regards, Anandaraj
-
Redirect after login not completing and app is closing. (SwiftyDropBox)
I've followed the SwiftyDropbox tutorial and after linking the app to my (user) db account the app just quits with out throwing any errors after the redirect back to the app. This is my console output. These "errors" occur after the button press. I don't get a console print saying "Success! User is logged into Dropbox with…
-
save_url status stuck as pending?
Hi, We're seeing a high percentage of photos saved to Dropbox with the save_url call never getting saved. Their status, when checked with save_url_job, returns pending. This has never happened before in bulk, like this. The files are about 5mb large. Any ideas? Thanks, Doug