Comments
-
Thanks for checking in. I don't have an update on this request unfortunately. We generally don't make promises about potential changes one way or another, since plans can change and we don't want to accidentally mislead anyone. That said, I'll check in with the team again to see if I can get a firm answer one way or…
-
Hi Bob, the expected behavior here should be either an immediate error indicating the lack of network connection, or a delayed error indicating the request timed out, depending on exactly how it failed. Can you let me know: - the version of the SDK you're using - the version(s) of iOS you're seeing this with - the code…
-
iOS 4 and Android 2.3 are both relatively old, so their browsers unfortunately aren't supported on dropbox.com. That means that the Dropbox website, including the app authorization page and login, won't work on them. I'm afraid I don't have a good solution to offer for this.
-
We don't have a document detailing the differences in these endpoints, but I'll be sure to pass this along as feedback. For reference, in this case, we deprecated these endpoints in order to offer a different return type. For example, the /2/files/move endpoint returns Metadata, while /2/files/move_v2 returns…
-
If response is nil, make sure you check the routeError and networkError. One of them should contain an error message. In any case, yes, you shouldn't make multiple concurrent listFolder[Continue] calls. A single listFolder[Continue] loop will return both files and folders under the requested path.
-
Thanks! That SDK does use API v1, so you will need to migrate to API v2. We have API v2 SDKs for both Objective-C and Swift.
-
The SDK is actually generated based on the API spec, so each method isn't implemented individually. For example, here's the implementation for any "download-style" request (such as DownloadAsync, or GetThumbnailAsync).
-
I believe this TaskCanceledException should indicate a timeout on the network connection for the API call. It sounds like that is what's happening, since you mentioned it takes around 90 seconds to fail. Is there anything on the network connection that might be interfering when this happens? (E.g., proxy, firewall, etc.)…
-
@"nairababayan" It looks like the author of this thread stopped responding, but I suspect what you're seeing is due to the automatic redirect behavior of the Dropbox OAuth 2 app authorizatin flow. From my response earlier: If instead you want to avoid this behavior and make sure the user has a chance to switch accounts,…
-
Thanks! That's helpful. We're looking into it.
-
Thanks! That's helpful. We're looking into it. It looks like this is an improperly handled rate limit on our side, resulting in the 500, so you should slow down these calls. Also, make sure you're only calling this once per OAuth 1 access token.
-
What SDK/library and version are you using? I can tell you which API it uses. Alternatively, if you're not using an SDK or library, check if the API endpoints you're calling contain /1/ or /2/.
-
The HTTP interface itself for API v2 does support "Range Retrieval Requests", but that's unfortunately not currently implemented in the .NET SDK you're using. I'll send this along as a feature request for that, but I can't promise if/when that would be implemented there.
-
If you mean you want to copy files between shared folders in a particular account where the shared folders have different owners, yes, you can copy them normally, as long as the account you're using has write permissions in the destination folder:…
-
I'm not sure I follow. It sounds like you may mixing cursors across users. Note that cursors are user-specific though, so you should only user user 1's cursor with user 1's access token, and likewise user 2's cursor with user 2's access token, etc. If that isn't the issue, can you share the relevant code and the full error…
-
Hi Gerald, can you share some sample X-Dropbox-Request-Id response header values for these errors so we can look into it? Thanks in advance!
-
The spatie/flysystem-dropbox library doesn't seem to have it: https://github.com/spatie/flysystem-dropbox/search?utf8=%E2%9C%93&q=create_shared_link_with_settings&type= The spatie/dropbox-api library does seem to: https://github.com/spatie/dropbox-api/search?utf8=%E2%9C%93&q=create_shared_link_with_settings&type= In there,…
-
[Cross-linking for reference: https://stackoverflow.com/questions/44767850/srmklive-flysystem-dropbox-v2-get-dropbox-share-link-on-a-laravel-5-3-applicat ] The getTemporaryLink method in the srmklive/flysystem-dropbox-v2 library corresponds to the /2/files/get_temporary_link endpoint on Dropbox API v2. If you want a…
-
How does it fail exactly? Can you share your code? One thing to be aware of is that the dl=1 link will return a redirect first, so make sure your HTTP client will follow redirects.
-
Yes, we've moved the API v1 retirement date to 9/28/2017. To acknowledge the deprecation, sign in to the Dropbox account that owns the API app and go to the App Console: https://www.dropbox.com/developers/apps There will be a banner there where you can acknowledge the deprecation.
-
One alternative would be to switch to using "upload sessions", where you upload files in pieces. You could then keep track of how much you've uploaded between each piece: https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUploadSessionStart…
-
Even if you don't have many files in your account, it's possible the list_folder and list_folder/continue results will be paginated, so you should make sure your app is always checking has_more and calling back if it's true. If the API isn't working as expected though, please share the API calls an unexpected output so we…
-
When calling list_folder, you need to check the has_more value in the response. If it's true, you need to call back to list_folder/continue with the last returned cursor to get more results. You can find more information on how this works in the documentation for list_folder:…
-
If you have a shared link for the file, the simplest way to download it is to modify the URL parameter(s) as shown here: https://www.dropbox.com/help/desktop-web/force-download You can then download from the modified link. Otherwise, if you do want to use the API, you can use the /2/sharing/get_shared_link_file endpoint:…
-
No, unfortunately there isn't a good solution here. The filesListFolder call will only return the newly uploaded file once it finishes uploading. The API doesn't offer information on uploads that are in progress. I'll send this along as a feature request for a way to receive progress information for uploads.
-
I don't have an update on this feature request right now. Note that we actually just announced a general extension for access to API v1 though, until 9/28/2017: https://blogs.dropbox.com/developers/2017/06/updated-api-v1-deprecation-timeline/
-
We looked into this, and we believe the issue here is due to this possible behavior from Stream.Read: Return Value Type: System.Int32 The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has…
-
To acknowledge the deprecation, sign in to the account that owns the API app and go to the App Console: https://www.dropbox.com/developers/apps There will be a banner there asking you to acknowledge it, if you haven't already. (There's a decent change you have already, since the emails we sent out last year and this year…
-
@"perholmes" We actually just announced a general extension for access to API v1, until 9/28/2017: https://blogs.dropbox.com/developers/2017/06/updated-api-v1-deprecation-timeline/ Hope this helps!
-
Dropbox propose une API que vous pouvez utiliser pour télécharger et télécharger des fichiers par programme. Vous pouvez trouver tout ce dont vous avez besoin pour commencer avec l'API Dropbox, y compris la documentation, les didacticiels et les SDK ici: https://www.dropbox.com/developers L'utilisateur doit autoriser…