Greg-DB Dropbox Community Moderator

Comments

  • As for the access tokens, note that 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…
  • To interact with files in a folder via a shared link to that folder, you shouldn't modify the shared link. You should instead use the API options to specify the relative path of the file inside the folder. Here's some example code showing the different things you can do: // this shared link is for a folderString…
  • @"jundervaber" This thread was about interacting with the developer interface for Dropbox. If you're running in to any issues with the Dropbox product itself, you can open a thread in the " Help from the Community" section.
  • That endpoint only supports the "Team Admin" mode for "Dropbox-API-Select-Admin", meaning it "can access content of team folders and team spaces but not the team members' home namespaces". So, to be able to call that for files not in team folders/spaces, you'd need to use as_user with the relevant team member ID instead.…
  • For both files and folders, you can use the 'id' value from the FileMetadata or FolderMetadata object. That ID does not change when an item is renamed/moved, so you can use it to track items across such changes.
  • This is a forum for help with the Dropbox API in particular. You don't seem to mention the Dropbox API in your post, so it sounds like you may be better served in a more general forum, such as StackOverflow, or somewhere specific to the platform you are using.
  • I'm not sure I understand your message. I don't know what you mean when you say you "dont want that method to upload ready file". Anyway, the upload functionality discussed earlier does allow you to upload file data of a particular name, size, and type directly to Dropbox. Exactly where you get the data is up to you. You…
  • Thanks for the report! It looks like this is hitting an internal constraint. We'll look into what we may be able do about that. In the meantime, to work around this, you may want to add an automatic retry or two (i.e., starting at save_url again for the relevant URL) when this occurs.
  • 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 and tutorials here. Dropbox doesn't offer resources or an official SDK for PHP in particular, but you can use a third…
  • Dropbox itself doesn't have listings or recommendations of developers to hire (though there may be some in the forum here who can chime in). There also may be third party marketplaces online where you can search for developers to hire, but we can't recommend any in particular. I certainly see how that could be helpful…
  • Thanks, that's helpful. We'll look into it and I'll follow up here once I have any update on this for you.
  • 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 steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s) * the full text of any error or unexpected output from the Dropbox API…
  • @"Tobiwan" As Здравко instructed, make sure you implement support for the pagination in order to be able to retrieve all entries. Refer to the documentation they linked to for more information. As for sharing_create_shared_link_with_settings, you can call it the same way, like this: output =…
  • It sounds like the Dropbox file requests feature may be a good fit for this. Also, Dropbox does offer an API you can use for managing file requests programmatically, among other operations. If you're a programmer, or are working with one, you can use this API to build an integration to automatically create file requests,…
  • I see you're getting the error: "Unexpected select user header. Your app does not have permission to use this feature". This error indicates that you're supplying the "Dropbox-API-Select-User" or "Dropbox-API-Select-Admin" request header (via the 'as_user' or 'as_admin' method, respectively), but are using an access token…
  • Thanks for the report. I just tried this out though, and I'm not seeing the behavior you describe. Can you share the particular call and output you're making so we can take a look? Be sure to redact the access token and any private information though. Feel free to open an API ticket if you'd prefer to share privately.…
  • @"varunvyas5678" I see you're getting back a response with a 200 status code, which indicates the call succeeded, so as Здравко said, you'll need to read out the JSON from the response body to get the session ID. We do recommend using an official SDK whenever possible, as it will do most of the work for you. You can find…
  • @"ravimali12" Здравко is correct, the filesUpload method only supports uploading files up to 150 MB in size. For uploading larger files, you'll need to use upload sessions, like in the example they linked to. You can find the documentation for these methods here.
  • @"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…