Comments
-
Also, make sure to update the redirect URI to match the new port. We've now updated the repo in Github to have the two projects point to different ports now to avoid this in the future. Pulling the latest code should fix everything. If not (maybe due to cached files), Properties -> Web -> Create Virtual Directory should…
-
It looks like you're using the Dropbox API v1 Ruby SDK, so you don't need to do any escaping yourself. The SDK will take care of it. Also, the API can see the single quote character. I just tried it out and it's working properly for me. Is it possible you have the wrong path? Also, when looking at the response, make sure…
-
Yes, an absent path_lower should only mean that the folder is not mounted. Yes, a shared folder is mounted in a user's account when they accept the invitation. The path_display field is only available on objects that extend Metadata (e.g., FolderMetadata), and not on SharedFolderMetadata. I'll send this along as a feature…
-
I'm glad to hear that fixed that issue. Can you share the backend error you're getting for this new problem? Thanks in advance!
-
Hi Vang, I'm not sure I follow. Can you elaborate, and maybe share some code for what you had previously, and the new code that's giving you trouble? Thanks in advance!
-
I don't believe there's any case where you necessarily need to check the status code directly. The translation is here if you're interested, but a 503 will yield a DBRequestErrorInternalServer and a 429 will yield a DBRequestErrorRateLimit, so you don't need to access the statusCode directly for either of those. Further,…
-
Thanks! We have managed to reproduce this. It seems the different sample projects can conflict with each other in some cases. Please try the following to resolve it: - right click on the SimpleBlogDemo project - click "Properties" - click "Web" in the sidebar - change the port in "Project Url", e.g., from…
-
No, there's nothing quite like that. You should make sure your app is able to handle lock contention errors like this, since they can occur at any time.
-
Hi Keith, 1. What you have already is the right way to start this, but you can continue drilling down into the error object, e.g.: [[client.filesRoutes createFolder:@"/test/path"] response:^(DBFILESFolderMetadata *result, DBFILESCreateFolderError *routeError, DBError *error) { if (result) { NSLog(@"%@\n", result); } else…
-
I'll make a note to follow up on this thread if/when there's an update on either feature request.
-
1. The authorization code expiration window isn't documented, as the code is meant to be used immediately after the app authorization. (I believe it is a few minutes though.) 2. The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented. It is only designed to prevent abuse though,…
-
The JavaScript file for interacting with the Chooser is here, but that won't enable you to add the functionality you want, as the Chooser itself is actually a page on dropbox.com using server-side code.
-
That won't have any impact. You can continue using the OAuth 1 or OAuth 2 access tokens on API v1 even when you start using OAuth 2 access tokens on API v2.
-
No problem, and yes, the recursive parameter is also in encoded in the cursor.
-
This should be working again now. Please try again. The resulting links should work properly.
-
This should be working again now. Please try /1/media again. The resulting links should work properly.
-
Hi Keith, Thanks for the detailed writeup! 1. That's correct, while the API v2 Objective C SDK lets you cancel specific requests, it doesn't have a method for cancelling all open requests like the v1 Core SDK did. I'll pass this along as a feature request. 2. That's correct. 3. API v2 only uses OAuth 2, where the app…
-
We can't seem to reproduce that error. Did you follow the instructions for setting it up? (Also, I reccomended trying the SimpleBlogDemo, but it looks like you're trying to run the SimpleBusinessDashboard sample.) If you can share steps to reproduce it, that would be helpful. In any case, looking online, there seem to be…
-
Hi mypolaris0227, it's possible for the Dropbox API to return an unexpected 500 like this at times, but when that does happen, it usually just a transient issue on our side, so you should have your app catch these exceptions and retry a few times. If you are seeing this consistently though, please open a new thread with…
-
Hi Dennis, the /2/files/copy_reference/save endpoint works like the /2/files/copy endpoint, in that the resulting copy isn't connected to the original file. Deleting the original file that the copy reference was based on won't affect the copy.
-
The Chooser doesn't offer any options quite like that (you can only select specific file extensions to allow), but I'll be sure to pass this along as a feature request.
-
When calling /2/sharing/create_shared_link_with_settings a shared_link_already_exists error is expected if a shared link already exists for that path. This can occur, for example, if your app already made that API call for that path. Is it possible your app ran that code more than once for a particular path? If can also…
-
The Dropbox Saver doesn't currently officially support saving files from data URIs or blobs, but I'll be sure to pass this along as a feature request.
-
Webhooks don't get sent for comments. I can't make any promises as to if or when that might be implemented, but I'll be sure to pass this along as a feature request.
-
Hi Scott, you can migrate different platforms at different times like this. Your app can use different versions of the API at the same time without issue. They'll both access the same file data as they would otherwise.
-
From a technical perspective, this would work, as the API does offer the ability to upload and download files. Also, while there are bandwidth limits on shared links, this doesn't apply to authenticated API calls. For example, to upload and download files, respectively:…
-
We should have a fix out for this soon, likely today. I'll follow up here once I have an update for you.
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-php/issues/55 ]
-
I can't make a guarantee, but we expect to have this working again tomorrow. I'll follow up here once I have an update for you.
-
Hi Mark, the known issue it sounds like you're refrrring to is an unexpected 403 error from /1/view links, which isn't related to the code you shared. It sounds like you're seeing an unexpected result from getSharedLinkFile. You don't seem to be checking the error for that call in your code though. Can you print that out?…