Comments
-
Thanks! It looks like you didn't include the response headers, so I can't look into this specifically for you though. If you can share those, please do so. Are you making multiple identical list_folder calls at the same time though? That can cause rate limiting.
-
It looks like you opened a new thread, so I'll follow up there: https://www.dropboxforum.com/t5/API-support/Ruby-Gem-for-v2-API/m-p/232396#M12669
-
I can't offer any insight on third party libraries, but I'll send this along as a feature request for an official Ruby library.
-
The /2/files/list_folder/longpoll endpoint tells you when something has changed in the linked account, but it doesn't tell you exactly what changed. (This is the equivalent of API v1's /1/longpoll_delta.) You should then call /2/files/list_folder[/continue] to find out what changed. (This is the equivalent of API v1's…
-
Thanks for the report! This should be fixed now.
-
@"Lechucico" To clarify, are you getting the 400 on guest1:8080/DropboxRest/app/dropbox/finish, or from Dropbox itself? Please share full Dropbox URL if that's where you're getting the error, as well as the full error message.
-
The team has decided to update the API to allow some Content-Types such as "text/plain; charset=utf-8" on download endpoints. I'll follow up here once that is live.
-
Can you share the full request and response, including both headers and body? We can look into it for you. Please redact the access token though. Thanks in advance!
-
I just took another look at your code, and I see you're trying to access the `size` returned by the Chooser, but per the documentation that should actually be `bytes`, so you can access it like `obj[0].bytes`. The API v2 Python SDK's files_get_metadata method does accept a file ID in place of a path, so you can just call…
-
The app key and secret themselves are not enough to connect to a Dropbox account, in either API v1 or API v2. To connect to a Dropbox account via the API, you need an "access token". You can get an access token for the user by sending the user through the OAuth app authorization flow. You can find an example implementation…
-
If you're building a server-side app, the best way to know when things change is to use webhooks: https://www.dropbox.com/developers/reference/webhooks If you're building a client-side app, the best way to know when things change is to use /2/files/list_folder/longpoll: (or the respective method in whatever SDK/library…
-
Thanks! I see two things that will likely make this not work: 1) The `files` variable given to your `success` callback is an array of files, so you can't directly access the information about specific files on it. You'll need to either iterate over it, or access individual items, e.g., `files[0].id`. 2) You're never…
-
Can you share the rest of your Chooser code? Accessing .id on the returned file object should give you the file ID. Also, thumbnailLink is a URL that points to the data for the thumbnail. What you with that is up to you. E.g., you can make an HTTPS request to it to download the thumbnail data, and display it in your app.
-
If you call /save_url/check_******_status again to check later (e.g., after at most 5 minutes) it should return either information about the successfully saved file, or an error message indicating the issue. Can you call again and check what you get?
-
You should be able to use save_url. If you're not getting an error, what is being returned? It should be a ****** ID that you can check with save_url/check_******_status. Please share the result so we can look into it.
-
Yes, using the JavaScript Chooser, get the 'id' from the result, just like you get the filename. Then, pass that directly into files_get_metadata.
-
@"mi2" I unfortunately don't have a sample for C++. Please refer to my C# samples above and translate them for your platform.
-
The redirect back to your app should be controlled by the CFBundleURLSchemes registered using your app key in your plist in this step of the configuration. I'm not sure off hand what may cause this issue, so can you share your plist so we can look into it? Do you have multiple binaries for your app saved that each have…
-
When calling files_get_metadata like this, you need to supply the full path and name for the file. If you don't supply the path to a file that exists, you'll get this not_found error. The Chooser only returns the name of the file, and not the path. So, if the file happens to exist in root, your files_get_metadata call will…
-
@"tristanlesaca" What error or output do you get?
-
Yes, localhost redirect URIs like this are allowed.
-
The Dropbox Android SDK (like the rest of the SDKs for other platforms) is built on the Dropbox API HTTP endpoints, meaning that it enables apps to communicate directly with the Dropbox servers to integrate with Dropbox. The official Dropbox Android app itself does offer some intents, unrelated the above API. Using intents…
-
It's no problem! The user can change accounts if they want before clicking "Allow". You may want to set force_reapprove=true though. Otherwise, Dropbox may automatically redirect them before that can do so. You can find more information on that parameter here:…
-
The ListFolder interface supports pagination via multiple calls to listFolder and listFolderContinue. The pages will generally be up to about 2000 entries, but there are various factors that can affect that, so don't rely on that number. You should always check ListFolderResult.hasMore to determine if you should call back.
-
I'm not sure I understand what you mean when you say "it seems to be difficult to install the similar drop down in the private redirect_uri, doesn't it?" Can you elaborate? If that's your own private page, you can design it however you'd like.
-
[Cross-linking for reference: https://stackoverflow.com/questions/44961671/dropbox-api-get-the-auth-code-issue ] I'm not sure I understand your question, but it sounds like you may be trying to query the authorization code out of the HTML of the page after the user authorizes your app on /oauth2/authorize. You shouldn't…
-
Hi Akshata, the maximum will generally be about 2000 entries, but this isn't documented or guaranteed, so please don't rely on this number.
-
The /oauth2/authorize web page itself shows the user which account they're currently logged in to in the drop down in the upper right corner of the page. They can also switch which account they're logged in to by signing out and in there, before authorizing the app.
-
Hi Rik, I can't help with issues for the web site itself, so please open a ticket with support here: https://www.dropbox.com/support
-
I'm not sure offhand what the cause of this would be or how to solve it. Are you able to remove the reference or retarget the application, per the error message? In any case, what version of Visual Studio are you using? Also, there are some posts here that may be helpful:…