Comments
-
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: * the name and version number of the platform and SDK/library you are using, if any * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or…
-
@"Siva K" No, there isn't an update on this feature request.
-
Can you share the code you're using that produces this error? Based on the error message, it sounds like you're not supplying the "grant_type" parameter when calling the /oauth2/token endpoint. That "grant_type" parameter should be set to either "authorization_code", when exchanging an authorization code for an access…
-
@"gorkemhacioglu" No, unfortunately I don't have news on this request.
-
We've reverted to the previous behavior for newly returned links. I can't guarantee what the exact behavior will be long-term, but I'll follow up once I have an update on that.
-
Thanks for sharing this! It looks like this is due to how we set the "Etag" value on these responses, causing the browser to cache the result. We'll look into it, but in the meantime, the easiest way to work around this client-side may be to use a POST instead of a GET, as that should avoid the caching anyway.
-
@"kelly0318" This is an old thread about writing code to download from Dropbox programmatically. If you need help using Dropbox itself you may want to open a thread in the 'Help from the Community > Files & folders' section or otherwise contact support.
-
Thanks for following up. I'm glad to hear you got this sorted out. I'll pass this along as feedback to see if we can improve the error returned in cases like this to include the path value itself.
-
Thanks for the report. We'll look into it.
-
We can't provide support for using and configuring PyCharm, as it's not made by Dropbox. I recommend referring to the PyCharm documentation and support resources for guidance on that.
-
A 200 status code indicates that the call succeeded, which for /2/files/download means that the requested file data is returned in the response body. So, it looks like your "a.csv" file actually contains that sample curl code, and your client is showing it as text there in that "Body" section.
-
@"DuraUser" Dropbox refresh tokens don't expire automatically, but they can be revoked by the app or user on demand.
-
It's possible you actually have multiple versions of Python installed, so make sure you've installed the Dropbox package in the same Python environment that you're using to run your program. (For instance, you mentioned you're using Python 3.9.7, so depending on your setup you may need to use "pip3" to install packages…
-
Thanks for following up. Yes, the Dropbox webhooks system expects a 200 specifically, but I'll pass this along as a feature request to allow 2xx. I can't promise if or when that might be implemented though.
-
It sounds like the file(s) you're referring to were not marked restricted prior to that time.
-
No, unfortunately the API does not offer an option to bypass that error.
-
A 'restricted_content' error from /2/files/download means: restricted_content Void The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims. If the file is marked restricted like this, you will not be able to use the Dropbox API to…
-
@"FarukTest" No, I don't have any news on this request. Dropbox doesn't offer a special kind of account for testing like that.
-
1. To retrieve existing links, you can use listSharedLinks or listSharedLinksBuilder. 2. You can modify shared links for different behaviors, such as direct file content access, using the URL parameters documented here.
-
A 'path/not_found' error like that indicates that the call failed because there was nothing found at the specified 'path' value. There are a few things that will affect this: * Which account is being accessed: each API call is made using an access token, and that access token is specific to a particular account. Make sure…
-
I'll follow up with you on your GitHub issue. For future reference, note that you don't need to post on both the forum and GitHub repo. Either is fine. Also, as noted in an earlier thread, you should not post your access token. I've redacted it from your posts, but you should make sure you revoke it for the sake of your…
-
Yes, those examples happen to use the sharingGetSharedLinkFile method, but accessing the result works the same way as filesDownload. As for the latest issue, I see you opened a new forum thread and GitHub issue, so I'll follow up with you there.
-
Apologies, I've fixed the first link. Depending on the type of environment, the file data itself will be available in either the object's 'fileBlob' or 'fileBinary' property.
-
[Cross-linking for reference: https://stackoverflow.com/questions/69320818/how-to-download-dropbox-pictures-locally-to-a-folder-with-javascript ] Exactly how you save/display them depends on your app/environment, but the filesDownload method is the right way to download a file's data from Dropbox. You can get the resulting…
-
The filesDownload method downloads a single file. If you want to download multiple files, such as all of the files in a folder, you can iterate through them and call it for each one. If you want to download an entire folder at once, you can use filesDownloadZip instead. Note that this will give you a zip of the folder…
-
The path value should not end with a "/". For example, if the file is named "test" and is in the root, the path should be "/test". Or as another example, if the name of the file is "test.jpg" and it is inside a folder named "folder", then the path would be "/folder/test.jpg". I recommend reading the File Access Guide for…
-
A 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens. That…
-
To use the 'Dropbox' constructor, that should be 'new Dropbox' instead of 'new Dropbox.Dropbox'. By the way, I redacted it from your post, but note that access tokens enable access to Dropbox accounts, so for the sake of security, you should never share access tokens like this. Since this access token has been shared here,…
-
Thanks for writing this up! 1. The Dropbox Chooser doesn't offer a way to get the full metadata, such as the path, like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 2. Unfortunately the Dropbox Chooser wasn't originally really built to work with the API…
-
Refresh tokens don't expire automatically, though they can be revoked by the app or user.