Comments
-
When using the "app folder" access type, each user gets their own separate app folder in their own account when they authorize the app to connect to their account. The app folders for different users of an app do not sync with each other. Also, currently, app folders are incompatible with shared/team folders, meaning you…
-
A "path/not_found" Dropbox API error indicates that the API call failed because there was nothing currently found at the specified path in the connected account under the relevant root. For example, this can happen if there's a mistake or typo in the path value the app supplies, if the file/folder has been renamed, moved,…
-
Yes, to list deleted items you'd need to use /2/files/list_folder[/continue] with include_deleted:true.
-
@"SandeepCNT" No, there isn't an endpoint like that available for non-team accounts, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Thanks for the report! This doesn't seem to reproduce for me in Chrome, Firefox, or Safari on macOS though. Do you have a sample page that reproduces this issue that you can share? Otherwise, can you share the specific code/parameters you're using to set up the Chooser so we can reproduce this? Feel free to open a ticket…
-
[Cross-linking for reference: https://stackoverflow.com/questions/77111772/when-using-dropbox-apis-i-get-media-info-not-set-for-images-even-if-they-are-act ] In order to get 'media_info' set, you'll need to set include_media_info=True when calling files_get_metadata. Note though that the 'media_info' returned by the…
-
Yes, this would be the /2/files/permanently_delete endpoint, to permanently delete deleted files. Note that this requires the 'files.permanent_delete' scope which is only available to team-linked apps.
-
@"Rephoto" It's not entirely clear what that latest issue is, but as Здравко said, it doesn't appear to be from the Dropbox API itself; you'll need to debug this more in your code. Also, it looks like the error message is cut off in your screenshot, so make sure you're reading the whole error message when doing so.
-
@"toki4004" Здравко is correct; the template is specific to the app-user pair, so you can't list or use the templates from one app when calling with a different app. And yes, you only need to create the template once per app-user, after which it's recorded on the Dropbox servers so you can use it for that app-user without…
-
The https://github.com/dropbox/dropbox-sdk-dotnet repository is the official source code repository for the Dropbox .NET SDK. You can find it linked on this www.dropbox.com page to confirm: https://www.dropbox.com/developers/documentation/dotnet Can you share more information about the issue you saw? For instance, can you…
-
@"SandeepCNT" Здравко is correct; the files.permanent_delete scope can only be used by team-linked apps, and so can only be authorized by team admins. If you try to authorize any team scopes while signed in to a non-team account, you'll be prompted to sign in to a teams account instead. If you have a teams account, make…
-
I'm not sure what "API connector" you're referring to, but we can only provide help with the Dropbox API itself. For help with the connector you're trying to use, please reach out to the developer of that connector.
-
@"toki4004" The "property_groups: expected object, got list" error is referring to the items in the property_groups list; the items are supposed to be objects of type PropertyGroup, but you're instead supplying a list via `array("cat", "dog")`. It should look more like this: $meta = array( array("template_id" =>…
-
@"toki4004" The 'property_groups' parameter on the /2/files/upload endpoint is optional. (You can find that in the documentation for /2/files/upload.) You should only set it if you are using the "file properties" feature. If you do set the 'property_groups' parameter though, the 'template_id' field in any given…
-
@"horton" Apps already in production do not need to re-apply for production, but again I should highlight that this single-user pattern is not officially supported. In any case, production status is only needed for apps that need to have more than 50 accounts linked, so it wouldn't be technically needed in that case anyway.
-
@"toki4004" As Здравко linked to, the API v2 Explorer is a good tool for prototyping and inspecting how API calls should be formatted. I see in your code you're using json_encode on the property_groups value directly. The value is supposed to be a list, but note that json_encode itself returns a string, you're actually…
-
We can't offer support or insight on Sailpoint, such as to provide guidance on what its code does or uses, as it's not made by Dropbox, so I recommend reaching out to the developer of that app for help with it. It sounds like you've already found this, but for reference though the documentation for all of the Dropbox API…
-
Thanks for the post. This looks like an issue on our side. We'll look into it and I'll follow up here with any updates.
-
@"Rephoto" If you wish to optimize your upload process, please refer to the Performance Guide: https://developers.dropbox.com/dbx-performance-guide That offers some ways you may be able to improve your effective overall upload speed. For example, there are batching and parallelization features you can use. For instance, as…
-
Thanks for sharing the additional information. It looks like this is related to you trying to start multiple tasks within the loop without awaiting them, leading to the stream being closed (due to the iteration continuing and moving on to the next piece of the file) before it can be used. Exactly how you structure your…
-
The /2/files/upload endpoint is a "content-upload" style endpoint, meaning that it expects the raw bytes of the file data in the HTTPS request body (with corresponding "application/octet-stream" type, as you have). Exactly how you retrieve that data and configure your HTTPS client to send it like that is up to you. Please…
-
What line is that occurring on? Please print the full exception and stack trace for reference.
-
@"Gags" For help with the configuration of your team, please contact support from an admin account on the team.
-
@"b_brown" The team has rolled out a fix for this. Please try again and let me know if you're still seeing any issues. Thanks!
-
If you need long-term access, you'll need to use the OAuth app authorization flow, but this only needs to be done once per account. It is not possible to fully automate the OAuth process where the user chooses to authorize the app and the app then receives the resulting access token and optional refresh token. This needs…
-
@"Gags" It looks like Здравко already helpfully answered your questions, but let us know if you still need help with anything.
-
@"b_brown" This is still open with the team, but I don't have an update yet. I'll follow up here once I have some news.
-
@"toki4004" Здравко is correct; the /2/file_requests/get endpoint is for getting information about a "file request" not an actual file. You should use the /2/files/download endpoint instead to download the contents of a file.
-
No, unfortunately the Dropbox API doesn't currently expose the ability to set those folder overviews programmatically, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"tcnolan7" The team is still working on some aspects of this issue, but yes the file download functionality in particular should be working now.