Comments
-
@"tuancrab" Thanks for the feedback. Dropbox doesn't offer a feature exactly like this, but I've sent this along as a feature request.
-
@"Nihad1" As Здравко said, it sounds like you're referring to displaying the contents of the folder using the Dropbox Embedder. This is currently open with the team and I'll follow up here with any updates.
-
@"Sheeja" Здравко is correct; 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 order to interact…
-
@"jianliao" I just tried this out with an account on legacy Paper and I was able to get the body of the document using paper_docs_download_to_file and ExportFormat.markdown. Can you double check that the particular document for the doc ID you're specifying has a non-empty body, e.g., on the Dropbox web site? As for using…
-
@"odoerlek" Здравко is correct; in order for the SDK to perform the refresh for you automatically, the client needs to have the necessary credentials, such as the refresh token. In your code you are creating DropboxClient objects with only the access token but not the refresh token, so it can't refresh for you…
-
I see you're using the Dropbox Python SDK and are trying to implement the refresh process yourself. Please note that the SDK can handle the refresh functionality for you automatically, so you don't need to implement that yourself. As long as you provide all of the relevant credentials to the 'Dropbox' object like in the…
-
Thanks for the note. This is still open with the relevant team in engineering on our side. I'll follow up here once I have any update for you.
-
Typically, if you're the end-user of an app, you shouldn't have to manage the implementation details of the authorization flow like this yourself; that would be built into the app itself. You may want to refer to the support resources for Zapier to see if there is built-in support for this. That said, looking at your…
-
Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now 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…
-
The "file_path is invalid: None" output does not appear to be an error from the Dropbox API itself. The rest of the output appears to be successfully retrieved file metadata information from the Dropbox API. I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information.…
-
@"Zahra1" Здравко is correct; the Dropbox Java SDK does not define a 'DbxStandardHttpRequestor' class. Perhaps you meant 'StandardHttpRequestor'? The withRedirectUri method takes a String and DbxSessionStore anyway though, not an HttpRequestor. In any case, check out the examples folder for examples of using the Java SDK…
-
@"playstationmobile" Здравко is correct; for more information and examples, please refer to: * https://developers.dropbox.com/oauth-guide * https://www.dropbox.com/developers/documentation/http/documentation#authorization * https://dropbox.tech/developers/using-oauth-2-0-with-offline-access
-
@"bszt123" Здравко is correct; this error is referring to the access token being expired, not the refresh token. When you get this 'expired_access_token' error, you should use the refresh token to get a new access token. If you're using a Dropbox SDK, the SDK will do this for you automatically, as long as you supplied the…
-
@"Zahra1" For more information on how the authorization process works, please refer to the following resources: * https://developers.dropbox.com/oauth-guide * https://www.dropbox.com/developers/documentation/http/documentation#authorization * https://dropbox.tech/developers/using-oauth-2-0-with-offline-access While Dropbox…
-
Thanks for the context!
-
@"sundares80" I will follow up here with any news on this, but again just to be clear, at this point I cannot say if the team will or won't be deploying any changes for this.
-
Thanks! I'll ask the team to fix that up.
-
Thanks for sharing that. From your earlier screenshot, I see that the app is registered for the redirect URI "dbssample://LoadPDFFromURL.UWP/", however in the 'redirect_uri' parameter in this authorization URL, I see that you're using "dbssample://loadpdffromurl.uwp/". Those values need to be exactly the same. So to…
-
Unfortunately there isn't an API call to completely unlink an API app, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Users can unlink apps via https://www.dropbox.com/account/connected_apps . Apps can revoke specific access tokens/refresh tokens using…
-
Can you share the full URL of the page displaying that error message? That would help for debugging this.
-
Yes, that error indicates an issue with the value passed to as_user. The as_user method requires a team member ID, not an email address. You can get team member IDs from team_members_get_info_v2 or team_members_list_v2 and team_members_list_continue_v2, for example.
-
Yes, this applies to both /2/team_log/get_events and /2/team_log/get_events/continue. In any case that you get "has_more": true, whether from /2/team_log/get_events or /2/team_log/get_events/continue, you should call back to /2/team_log/get_events/continue.
-
The 'events' list returned by /2/team_log/get_events and /2/team_log/get_events/continue does not have a guaranteed minimum size, and so may have a size of 0 in some cases. It may vary across calls, teams, parameter values, etc. Whenever an app receives "has_more": true it should call back to…
-
The Dropbox API and the Dropbox web site both use the same filesystem data, so it's not expected that you'd see a different state (e.g., deleted or not deleted) for the same item at the same time across the two interfaces. Can you double check you're looking at the same item in both places? For instance, you can call…
-
That error for this call indicates that this failed because the account that owns the app for that refresh token/app key/app secret is disabled. When an account is disabled, any apps owned by the account are also effectively disabled. You'll need to instead get and use a refresh token/app key/app secret for an active app…
-
Thanks, that's helpful. It looks like you're actually hitting a different issue now. It appears you're sending an improperly formatted Authorization header value. Please remove any leading or trailing whitespace from your access token string (self.app_token in this code snippet) and try again.
-
@"dwWithCat" Здравко is correct; for a situation like that, you'll need to instead follow "Programmatically creating Saver buttons" or "Triggering the Saver from JavaScript".
-
@"sz3324" I just wanted to follow up here to let you know we believe we've tracked down and replicated the issue here. Please refer to the post here for more information.
-
@"sundares80" Thanks for confirming that. I've raised this to the team to ask that they change the server to accept requests with the extra new line. Again though, please note that I can't promise if/when such a change would be deployed. I'll follow up here with any updates on that. Also, as Здравко noted, please be aware…
-
@"dwWithCat" I just tried this and the Saver button was successfully built and clicking it successfully launched the Saver, not a new tab showing the image: <!DOCTYPE html><html> <head> <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs"…