Comments
-
@"TalesCreator" Are you perhaps on a team that recently migrated to the team space configuration? Please note that by default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, the contents of the team space will not be found, and uploads…
-
@"cankayaalperen" An 'expired_access_token' error indicates that the call failed because it was made with a short-lived access token that has expired. In addition to the post that Здравко linked to, you can find more information on how this works in the following resources: * https://developers.dropbox.com/oauth-guide *…
-
In addition to what Здравко said, note that by default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, the contents of the team space will not be found. You can configure API calls to operate in the "team space" instead though, in…
-
Per the official documentation, the Dropbox OAuth app authorization flow must be processed in the user's system web browser, not a web view. Exactly how you implement that will depend on your platform and programming language, so you'll need to refer to your platform's documentation for more information on how exactly to…
-
Yes, connecting any app with the app folder access type would create the "Apps" folder (or translated version of it), if it doesn't already exist in the account, whether or not the user's account had one before.
-
Unfortunately I don't believe there's an alternative in this scenario, because the /2/files/copy_v2 endpoint only supports the Dropbox-API-Select-Admin header in the "Team Admin" mode, meaning it has access to "team folders and team spaces but not the team members' home namespaces". So, when you administratively access…
-
I see you're getting a System.NullReferenceException. As Здравко said, that's not an error from the Dropbox API itself. You can find Microsoft's documentation for that exception here though.
-
The .NET SDK method calls should eventually either return a result or raise an exception (e.g., if the connection takes too long and times out), but depending on how long the calls take, it can take some time to do so and would hang in the meantime. Like Здравко said, if there are multiple changes at the same time in the…
-
The "Apps" (which is a localized name) folder is a folder for containing "app folders" and is automatically created in a user's Dropbox folder by Dropbox the first time that user connects an app with the "app folder" access type. There are a few reasons it may not exist at "/Apps" in any given account at any given time: *…
-
The Dropbox API /2/files/search_v2 endpoint provides an options.path parameter which can be used to request that Dropbox restrict the search to a particular path, though there is a delay for recent changes. While Dropbox will restrict the search to a path if supplied, if a file (or parent folder) was recently moved out of…
-
To turn off the webhook notifications for a connected user, the user would need to disconnect the app from their account, which they can do via https://www.dropbox.com/account/connected_apps so you may want to ask them to do so. This is a manual process of course, so that's not ideal, and I've sent this along as a feature…
-
@"newBox" As Здравко noted, you should not attempt to open the temporary upload link directly in a browser; attempting to do so will return a 404 to the GET request. As for the path, if your app has the "app folder" access type, you should not include the path to the app folder itself in the 'path' value. Dropbox will…
-
@"yyyhhh" As Здравко said, you'll need to implement the Dropbox Chooser as covered in the documentation.
-
@"Здравко" Thanks for the feedback and suggestion! I'll pass it along to the team.
-
Thanks for following up. I'm glad to hear you already sorted this out. Yes, that's correct, while the account_info.read scope is the default/required scope for user-linked app registrations, it is not technically required for authorizations. As you found, you do not need to request it when having users connect to your app;…
-
@"user44" Здравко is correct; the Dropbox API still does not offer a way to programmatically disconnect the user from the app entirely (as opposed to only revoking a particular token).
-
@"akirapix" Yes, as Здравко said, business accounts can be different; they may have a "team space". By default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, the contents of the team space will not be found. You can configure API…
-
Yes, you can use copy references if you'd like. Alternatively, you should also be able to use CopyV2Async as an admin from one team folder and specify the destination in the other team folder in the toPath using the format "ns:12345/copyname" where 12345 is the team folder ID of the destination team folder.
-
Thanks for the report! We'll look into it.
-
You don't need to switch to listing all of the namespaces unless your use case requires it. Team folders are just one type of namespace, so your scenario is effectively a subset of that example. The namespace ID for a team folder is the team folder ID, so you can get the team folder's namespace ID from the…
-
When using the .NET SDK, using the TeamFolderListAsync method is the right way to begin listing all of the team folders for a team. Be sure to also implement TeamFolderListContinueAsync as well though, to make sure you get the whole list. And then for any given team folder (or any folder), using ListFolderAsync and…
-
This should be fixed now. Thanks again for the report!
-
This should be fixed now. Thanks again for the report!
-
@"SC_dev4" Здравко is correct; this doesn't indicate a scopes issue. This indicates that your app doesn't have permission to use that template. Note that user file property templates are app-user pair specific. You can't use an access token for one app to access a template that was created with a different app. You…
-
Thanks for following up. I'm glad to hear you got that working. For reference, both api.dropbox.com and api.dropboxapi.com are acceptable for this.
-
The https://www.dropbox.com/oauth2/authorize... URL you construct points to a web page where the user would choose whether or not to allow the app to access their account. That means the app should direct the user to that URL in their web browser. The app should not try to access the contents of that URL programmatically;…
-
There are a number of ways to use the functionality, depending on what you're trying to do, but the pathRoot field, if being used, should not be empty. In order to access the team space, for instance, you should use the root mode and use the root namespace ID for the connected account. To clarify, is something in…
-
Apps using the Dropbox API should continue using the same API methods/endpoints, such as filesListFolder and filesListFolderContinue, and the same properties such as path_lower or path_display, however you may need to make some changes, such as to start using the “Dropbox-API-Path-Root” header to make sure you're accessing…
-
Thanks for the report! I'll ask the team to add this to the types.
-
That team has deployed a fix to address this. Please let us know if you're still see any more instances of this now. (If so, please share samples of the 'X-Dropbox-Request-Id' response header values.) Thanks!