Comments
-
Are you attempting to download from a shared link directly? If so, you may be running in to the issue discussed here. Please take a look at that and see if it helps. Otherwise, I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. In that case, please reply with: *…
-
Thanks for following up! I'm glad to hear you resolved this already.
-
First, note that you don't need to use the request_json_object method directly. You should use the provided native methods for the API endpoints, such as files_list_folder for /2/files/list_folder. Anyway, this error message is referring to specifying what account on the Business team to operate on behalf of. When using…
-
We don't have any resources for ReactJS in particular, but perhaps someone else on this forum has something they can share. For reference, if you haven't already found them, you may want to check out the OAuth Guide and authorization documentation for information on how that flow works. And if you're using an SDK or…
-
Yes, you need to set the Dropbox-API-Path-Root header in order to root an API call in the team space (to access those other folders shown in your screenshot). The Team Files Guide goes over how to do this. That is, you can get the root_namespace_id value from /2/users/get_current_account and use that in the…
-
Yes, that's correct.
-
Thanks. Yes, unfortunately there isn't really anything else here that would be useful. Let me know if you can reproduce this with curl directly though.
-
First, for reference, the Dropbox API does offer the ability to retrieve file data from a shared link (without using the "dl=1" option on the link itself), via the /2/sharing/get_shared_link_file endpoint. You may want to look into whether or not that suits your use case. Anyway, I don't know off hand what may have changed…
-
It sounds like your team is set up to use the "team space" configuration, so the /2/team/team_folder/list[/continue] interface will only list the team's "team space" (or "shared workspace"). For teams with this configuration, you can list the contents of the team space directly using the /2/files/list_folder[/continue]…
-
OAuth 2 is an industry-standard protocol for authorization. Dropbox uses it to enable end-users to connect third party applications to their accounts without disclosing their credentials to the third parties.
-
Yes, this warning will be shown if your app is in development status. It will not be shown if your app is approved for production status.
-
"Entitlements" is a feature of iOS/macOS, made by Apple. As that's not made by Dropbox, I can't offer support for that. You can find information on that in Apple's documentation here. You can check on the current status of your app on the app's page on the Dropbox App Console. You can find information on the production…
-
I see, thanks for clarifying! I'll send this along as a request to the team to see if we can publicly expose something to do that in the Objective-C SK.
-
I see you opened this in API section of the forum, but this issue doesn't appear to be related to the API itself. (You don't seem to be referring to calling the actual Dropbox API, but rather are interacting with Dropbox shared links directly.) I'll try to offer whatever help I can though. I tried to replicate the scenario…
-
You shouldn't actually have to do most of this work in your own code. As long as you use the authorizeFromControllerV2 method to start the authorization flow as shown here, and then receive the result as shown here, the SDK would then handle the token storage and refresh process for you automatically. You would use the…
-
@"mbm123" Assuming you're referring to the username/password for your own app (that is, your app should never request or handle Dropbox username/passwords directly), yes, you can have the user log in to your own app, and then send them through the Dropbox app authorization flow to request access to their Dropbox account.…
-
@"mbm123" It's not possible to perform the entire OAuth app authorization flow within your own app only. The user needs to be sent to Dropbox to indicate to Dropbox whether or not they want to authorize the app. If they do approve it, Dropbox itself then generates the token(s). Note though that you only need to do this…
-
@"rightcelebrator" Your thread was placed in the API section of the forum, but this issue doesn't appear to be related to the API itself. (Your sample isn't calling the actual Dropbox API, but rather is interacting with Dropbox shared links directly.) In addition, we can't offer help for Autohotkey or…
-
Have you migrated your app registration to scopes yet? You can do so via the "Permissions" tab on the app's page on the App Console. You'll need to do so before you can use the new authorizeFromControllerV2 method. (Apologies for the generic error message!)
-
@"mbm123" Third party apps enable end-users to connect their Dropbox accounts by implementing the OAuth app authorization flow. This is a way for third party apps to ask the user to allow the app to access the user's account. When the user approves an app using this flow, the app is given an access token. You can find more…
-
@"mbm123" Performing Dropbox API calls, such as to list and download files from a Dropbox account, does require an access token; they can't be performed using the account username and password directly.
-
@"vivek-qualys-ssc" No, unfortunately I don't have any news on this request.
-
The new authorization functionality was added in v6.0.0, so you'll want to use the latest version after that which you can support in your project. You can find the release history here. The Alamofire dependency was updated in v8.0.0, so you may want to try the latest before that, v7.0.1. Otherwise, if that doesn't work…
-
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 name and version number of the platform and SDK/library you are using, if any - the steps to reproduce the issue, including relevant code snippet(s), but don't include any access token(s)
-
@"jon p" Yes, using that method will let the SDK take care of this for you automatically in the background. And yes, you should use the same refresh token for a given user. The refresh token can and should be used repeatedly. It does not expire on its own (though it can be revoked by the user or app).
-
1. The API includes information about the expiration of a short-lived access token when returning it. (It's four hours, but you should use the value returned by the API.) If you're using an SDK, it will translate these API responses for you automatically. 2. Short-lived access token expiration does not rely on whether or…
-
For any given shared/team folder, you can use /2/sharing/list_folder_members[/continue] to list who has access to it.
-
The Dropbox API doesn't offer a way to list this kind of integration, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Thanks! So it looks like you're hitting this error condition in the Dropbox Java SDK when calling finishFromRedirect here: DbxAuthFinish response = pkceWebAuth.finishFromRedirect(redirectUri, new DbxStandardSessionStore(request.getSession(), sessionKey), request.getParameterMap()); This occurs when…
-
It looks like you're referring to some of the integrations listed at the top of the page in that screenshot, like Zoom. Some of those are special partner integrations on Dropbox, not built like third party apps linked using the Dropbox API, and so will not show up in linked app list returned by the API.