Greg-DB Dropbox Community Moderator

Comments

  • @"TC888" It seems like Здравко has figured this out. It sounds like the link you are referring to is a "shared link", which can be accessed by other accounts by default. This is a sharing feature that allows one user to share files or folders with other users just via that link. Here are some guides that may be helpful: *…
  • This issue is fixed in the latest version of the Java SDK, which is currently v5.3.0.
  • You can find the installation instructions for the JavaScript SDK here. It's not provided as a zip file, but rather on npm, for applications using the npm package manager, or on various public CDNs, for web applications to load it in a script tag, such as on npmcdn.
  • That error message indicates that there's an issue with the access token value you're supplying with the API call. Check the access token you're sending and make sure you're using the exact value as it was provided to you by Dropbox. Don't add or remove any characters, make sure there's no stray whitespace, etc. (As a…
  • The tags functionality is now available in the latest version of the Java SDK (currently v5.3.0). You can find the documentation for the tagsGet​ method in the Java SDK here.
  • Make sure you check the response body itself. It should contain a more specific error indicating what the issue is.
  • You can find a list of the official Dropbox SDKs under the "SDKs" section here: https://www.dropbox.com/developers/documentation Those link to the respective pages, which include links for the relevant instructions and examples, for each of the SDKs. Be sure to follow those for instructions on how to install and use any…
  • @"ajay699patel" Здравко is correct, Dropbox is in the process of switching to only 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 though, in which…
  • A 'path/not_found' error like this indicates that there was nothing found in the connected account at the path specified for that API call. To troubleshoot this, I recommend you print out the full exact 'path' value that you're sending for that call. You'll need to make sure that value exactly matches the path in the…
  • The Dropbox Saver doesn't offer a way to cancel an ongoing save job, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. I'll follow up here if/when I have any news on your feature request. (Note that the thread you linked to was actually about uploading via the…
  • This error message is referring to specifying what account on the Business team to operate on behalf of. For reference, when using any "team scopes", the resulting access token is connected to an entire Dropbox Business team, not an individual account. So, when using a team-scoped access token to access user-specific…
  • @"dghatch" Thanks! It does seem like the request is getting malformed somehow. Have you inspected the exact values you're sending to https://content.dropboxapi.com/2/files/download? Make sure there's no extraneous data, in both the $token and $in_filepath values, as that could mangle the request, resulting in the generic…
  • @"dghatch" My colleague was asking about the response headers, but it looks like you've printed out the request headers here. In any case, I've also tried the code you shared here, plugging in my own access token and path, and as long as I fix the "Content-Type" as my colleague mentioned, it does work for me. (I am using…
  • We can't offer help with Wix itself, but Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers You can use that…
  • @"vuloan9407" As Rich noted, it sounds like this is because Dropbox now returns short-lived access tokens, which are only valid for several hours. Dropbox is in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information…
  • @"karanag" In your code, you're sending the data in your 'content' variable, which just contains the string '"@" + imagePath', not the actual file data at that path. In the examples in the Dropbox API documentation, the "@" is a way of telling curl on the command line to read from the local filesystem at that path. That…
  • @"RJ77" The webhook notification indicates that the account has had changes somewhere in the account, so you can then use the corresponding access token for that account to call /2/files/list_folder[/continue] (or corresponding methods in whatever SDK/library you're using, if any) to see what exactly changed. So, make sure…
  • That's correct; the same example also shows how to use upload sessions for large files.
  • @"senthilnathan205" Yes, as Здравко noted, if you need access for more than four hours, you should request and use a refresh token as well. For the official Dropbox API v2 .NET SDK, you can find an example of getting and using a refresh token in the OauthBasic example (non-PKCE, meant for server-side apps) as well as in…
  • @"fangzefunny" Здравко is correct; you should check the response or error for the call, which you are currently ignoring. You can find an example of handling the response and error for an upload call with the Dropbox API v2 JavaScript SDK here.
  • The 5,000 shared folder number mentioned in that help article is a more general guideline, not specifically about the API or list_folder functionality in particular. The performance of any particular API endpoint may vary, and as discussed the list_folder performance will depend on a variety of factors, which can vary over…
  • You can pass the scopes explicitly to the scopeRequest parameter on authorizeFromControllerV2, but it's not technically required. Once you've migrated an app to scopes, the scopes you have selected will be the default and maximum scopes that can be used by that app. If you pass pass nil to the scopeRequest parameter on…
  • @"Conners" The blog post you referred to is very old and now out of date. As Здравко noted, you should now use /2/users/get_current_account instead of /1/account/info. And as they said, app's with the app folder access type cannot use shared folder functionality, such as /2/sharing/add_folder_member. You would need to…
  • Yes, if you have any users currently or recently using authorizeFromController, they would be receiving only short-lived access tokens, so you may want to catch that error and prompt them to reauthorize the app using authorizeFromControllerV2 instead in order to get a refresh token. And yes, you can migrate existing app…
  • @"kuznetsovvl" No, unfortunately I don't have any changes to report for this feature request.
  • @"Bob S.15" Thanks for following up with the additional information. As you found, Dropbox is in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. (We did send notice of this migration…
  • Unfortunately we can't provide any absolute guarantee of your app's compliance based on this hypothetical description, so you should be sure to review all the guidelines and terms before developing an app: * https://www.dropbox.com/developers/reference/tos * https://www.dropbox.com/developers/reference/developer-guide *…
  • Thanks for the feedback. It looks like this is related to your earlier thread. As discussed there, this will be related to the number of files, folders, and namespaces, as well as the amount of activity. Cursor length will also depend somewhat on the length of folder names/paths. Unfortunately, there isn't a specific limit…
  • @"senthilnathan205" I just tried this code, plugging in my own values and access token, with v6.25.0 of the library, and it ran successfully for me. Is that the entirety of the error output? Also, is there anything on your network connection, such as a proxy, firewall, VPN, anti-virus, etc., that may be interfering with…