Comments
-
@"munis-bto" No, I don't have an update on this request.
-
It looks like you're referring to the step where Dropbox redirects the user back to the URI you specify in the redirect_uri parameter you set on /oauth2/authorize. I just checked on this, and it does not appear Dropbox itself is removing the trailing "/" from that URL. I reproduced this, and looking at the log of the…
-
@"shsv382" Note that some error types are nested, so you'll need to expand the types to see the full information. To find the information for the "path" errors returned by /2/files/upload in the /2/files/upload documentation, for instance, start by expanding the documentation for "path" under "UploadError" in the…
-
@"shsv382" This issue was referring to getting a "path/insufficient_space" error when uploading a file, such as when calling the /2/files/upload endpoint. That kind of error would be sent with a 409 status code. You can find more information in the "Errors" documentation and Error Handling Guide.
-
Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get long-term access by requesting "offline" access…
-
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 or…
-
This is the expected behavior if attempting checkApp without an app secret; the checkApp method validates the app key and secret by calling /2/check/app which uses "App Authentication", which does require the app key and secret. So, that will fail without the app secret. If you want to check the validity of the access…
-
@"MogensBrun" qpo is correct; file IDs are case sensitive, and in some instances such as this, may vary only by case. So, make sure you're you're always preserving the case when storing these values, and using case-sensitive comparisons when comparing them.
-
The Dropbox API does have a general rate limiting system that applies to all account types, but we don't have specific rate numbers documented for that. Apps should be written to handle these rate limit responses automatically. Also note that not all responses with a 429 or 503 status code indicate explicit rate limiting,…
-
It sounds like you're referring to using the /2/files/get_metadata endpoint and setting 'include_media_info' to true, in order to get the media information such as 'dimensions' and 'duration' returned in the 'media_info' field in the result. That functionality is only available on /2/files/get_metadata, which does require…
-
I see our messages just crossed, but yes, it sounds like that's the issue. The access tokens can certainly be longer than 255 characters, and you may have only recently started receiving access tokens of that length, so a database limit like that would cause the issue.
-
While not specific to results of automations, the Dropbox API does offer a few ways to detect when changes occur, such as when new files are added. For information, please refer to the Detecting Changes Guide.
-
It sounds like your database may be corrupting the access token, causing the subsequent API calls using the retrieved corrupted access tokens to fail. In particular, might your database have a length limit for storing the access tokens, which effectively truncates them? Note that Dropbox API access tokens can vary in…
-
Yes, you can use the Dropbox Chooser to have the end-user select any file or folder from their account to send a shared link for that item to your app.
-
The 404 is from Dropbox and indicates that the request has not successfully reached a Dropbox API endpoint. The issue is that you're sending a PUT, but you need to use POST to hit /2/files/upload. Please update your code to use POST and try again.
-
Apologies for the trouble with the spam filter. I've recovered your post and will take a look and reply there.
-
[Cross-linking for reference: https://stackoverflow.com/questions/79284194/how-to-download-files-from-a-public-dropbox-and-onedrive-folder ] Using the Dropbox JavaScript SDK, to list the contents of a folder using a shared link to the folder, use the filesListFolder/filesListFolderContinue functionality. Send the shared…
-
This should be working again now. Thanks again for the report.
-
The check_and_refresh_access_token method doesn't actually return a token value; it would either internally update the access token in the client, or otherwise raise an exception, so you don't need to check the return value. Also, you don't actually need to call check_and_refresh_access_token yourself at all. The Dropbox…
-
Thanks for the report! We're looking into it, and we'll follow up here once we have an update on this.
-
@"bob-is-not-my-uncle" No, unfortunately I don't have an update on this.
-
That error in your screenshot would occur when attempting to view a .pdf file with a size of 0 bytes, since there's no file content to view. That being the case, you'll need to investigate why the file was uploaded without content. I tested this out myself and haven't been able to reproduce an issue of unexpected 0 byte…
-
@"thedefaultman" The Dropbox API supports two different access types: "full Dropbox" and "app folder". Apps with the full Dropbox access type can access files/folders anywhere in the connected account. Note though that if you are using the full Dropbox access type and want to access the "team space", you'll need to apply…
-
Yes, using the /2/files/move_v2 functionality is the right way to move files or folders from one path to another. Check out that documentation for information on that endpoint, as well as the "Path formats" documentation for information on how to format path values. For instance, I notice that your "to_path" value does not…
-
Yes, there are limitations on this functionality; this media information is not available for all files/file types. The media_info field is an optional field, and when include_media_info is set to true in the /2/files/get_metadata request, media_info will be populated with the media information if/when it is available. The…
-
Thanks for following up. It sounds like the issue is sometimes occurring when you use 'new StreamContent(fileStream)', but it's not clear from just this code what the issue may be, so I recommend troubleshooting that particular code path. For instance, you may want to reproduce the issue and inspect what is happening when…
-
I don't currently have any news on this bug.
-
The /2/files/upload Dropbox API endpoint is a "content-upload" style endpoint, so the client needs to send the file data it wants to upload in the request body. If a /2/files/upload call results in a file with a size of 0 bytes, that should mean that the request body sent to /2/files/upload was empty. I'm not aware of any…
-
Yes, a Dropbox API app with "full Dropbox" access can read/write in shared folders. I suggest checking out the following guides: * Getting Started Guide * File Access Guide * Sharing Guide * Team Files Guide As for authorization, the user needs to manually authorize the app to access their account at least once. Please…
-
There are a few things you may be referring to, so to address each: * All Dropbox files are are encrypted at rest and in transit. * If you're referring to contents of Dropbox "encrypted team folders", the Dropbox API does not return special metadata identifying that, but I'll pass this along as a feature request. I can't…