Comments
-
I don't have specific information about how the official Dropbox desktop application works to share, but it does involve a significant amount of code to monitor the local filesystem as well as changes on the Dropbox servers and sync the two together.
-
Since you're not using PKCE, the app secret is required for the refresh process, so you'll need to set appSecret when making your DbxCredential.
-
[Cross-linking for reference: https://stackoverflow.com/questions/73155941/dropbox-oauth2-token-endpoint-not-returning-refresh-token ] I just checked and this is working for me: # https://www.dropbox.com/oauth2/authorize?response_type=code&client_id=u1v<redacted>&token_access_type=offline# resulted in:# Access Code…
-
Yes, that would just show the shared link policy for that folder; the effective policy for any particular sharing/link for content on a team would take into account all of the relevant policies (e.g., for the specific folder as well as the team itself). To check for existing shared links for any specific file or folder,…
-
Thanks for the report! I'll ask the team to fix that up.
-
No, unfortunately there isn't a way to create shared links in batches, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"Ryan_C" No, unfortunately I don't have any news on this.
-
I just gave downloadUrl a try on iOS 16 beta on a simulator from Xcode 14 beta 3, using the code sample from here, and it didn't result in that error for me. Can you share a code snippet that reproduces this so we can investigate this? Thanks in advance!
-
That's correct, the Dropbox API allows you to list, upload, and download files (among other operations), but we don't provide pre-built code for a full sync solution like that, so you'll need to write your algorithm to meet the needs of your use case. You can find everything for the API here, including the full terms here.…
-
That's correct, for accessing user endpoints using a team-linked access token like this, you'll need to specify the member to operate on. You can find the documentation for this here. In the Python SDK, you can use as_user (or as_admin) for this. These require a team member ID, which starts with "dbmid:", not an account…
-
By default, API calls operate in the "member folder" of the connected account, not the "team space". You can configure API calls to operate in the "team space" instead though. To do so, you'll need to set the "Dropbox-Api-Path-Root" header. You can find information on this in the Team Files Guide. In the Java SDK, you can…
-
I don't have much more specific information to share, but it does seem that it may be related to issuing multiple jobs at or around the same time, likely resulting in the same sort of lock contention discussed here. I'll also pass this along as a feature request for a batch version of this call to better support use cases…
-
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.