-
API V2 .NET Checking for a valid access token
What is the recommended way to check whether a saved access token is valid or not (e.g. a user may have revoked access via the website)? I guess I am looking for the equivalent of the old HasLinkedAccount method...
-
Migration V1 to V2
Hi, in V1 I simply use: Public Function write(myFile As String) As MetaData Dim Client As DropNetClient = New DropNetClient(Konstanten.DropboxAppKey, Konstanten.DropboxAppSecret) Client.UseSandbox = True Client.GetToken() Process.Start(Client.BuildAuthorizeUrl()) MessageBox.Show("Wait") Try Dim accessToken =…
-
Detect file or folder in Objective C API v2
Appologies if this has been asked before, but I could not find anything here. I am looking to differentiate between files and folders in my application. In API v1 I could use the DBMetadata object and use the isDirectory function. But I am not sure how to accomplish this here. Would be greatly obliged if someone can guide…
-
Is App Folder access sufficient for shared folders?
I'm using SwiftyDropbox to create an iOS app that provides Dropbox syncing similar to 1Password, in that multiple users can edit and sync information between devices through a shared Dropbox folder. My question is: if one user creates a shared folder inside my app's folder on their Dropbox, would it appear in my app's…
-
migrating from API 1 to 2 - how do I know if I have OAuth 1 tokens?
I am finally getting around to updating my OLD apps from the original Dropbox IOS API to the new one. I'm looking at the migration guide, and the first thing it says is to check my OAuth tokens to see if they are version 1 or 2. How do I know which I have? Also, the migration guide describes using the…
-
save_url endpoint
Hi, I really would like to use the save_url endpoint to save user created data from a server to the user's dropbox account. Alas, I can't. In my case, and I am sure in many other applications too, access to the user data at the specified url requires inclusion of an authorization header in the GET request. The current…
-
Data synchrnization
Hello Gents, I am looking for a solution to synchronize files data between my computer to server connected throught static IP. Please advise if there is any softwre available or API's support i can use witn my Application designed in ASP.NET MVC. Appriciate you help. Regards, Aqeel Aqeel.ahmed@vvi.cc
-
OPTIONS https://api.dropboxapi.com/2/files/list_folder 400 (Bad Request)
I am using typescript to get a list of folder contents from Dropbox account, I keep getting a 400 Bad Request. I have created a plunker where you can see my code https://plnkr.co/edit/8f0qZm02qkxYhxig31PT?p=preview If you look in the browser developer tools you will see the error. What am I doing wrong? Thanks in advance
-
While authorization Allow button click doesnt redirect to app
While authorization request on permission page dropbox request to access permission of folder and files but on ALLOW button click it doesnt redirect to android app. Previously it use to work finely but nowadays it doesnt redirect.Back click as i redirect to android app i can easily upload files. Need Help
-
FileMetadata.Rev not working as expected for binary files
I have hit an issue when using the Dropbox API in c# - which in general is excellent. Binary files that have not changed are always updated online if they are recreated but the content has not changed. I found over in the general user area of the forum this thread…
-
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:…