Comments
-
@"cplewisbpe" No, unfortunately this hasn't been added to the API.
-
Thanks for following up, and for sharing your code. It does seem like something is rewriting those requests but unfortunately I can't say what that might be. In any case, I'm glad to hear you got this working. By the way, the /oauth2/token endpoint does accept these parameter either on the URL or in the body, so for…
-
No, there isn't a way to set a folder size limit unfortunately, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is 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…
-
I see you're supplying a refresh token, app key, and app secret to the Dropbox JavaScript SDK. In that case, the SDK should automatically use those to retrieve a new short-lived access token (the string that starts with "sl.") whenever needed, which it would then use to perform Dropbox API calls (such as…
-
@"msmoe" In the latest code snippet you shared, I don't see where you're attempting to set the request body to contain the file data to upload, so you would get an empty file uploaded. I see you're using "GuzzleHttp" as your network client. That's not made by Dropbox, so I can't offer help with that, but it looks like the…
-
@"qpy" Can you clarify what you mean when you say 'the “root” relative path has been dead end'? I tried it and it did work for me, e.g.: curl -X POST https://api.dropboxapi.com/2/files/list_folder \ --header 'Authorization: Bearer ACCESS_TOKEN' \ --header 'Content-Type: application/json' \ --data…
-
@"msmoe" I see that the file you have uploaded has a size of 0 bytes, meaning it doesn't contain any data. When uploading files, you'll need to make sure you send the data you want uploaded for that file. For instance, if you're using /2/files/upload, you'll need to send the file data in HTTPS request body, as that…
-
Yes, according to the article, activity is based on "sign-ins, file shares, and file activity (adding, editing, or deleting)", so that should work.
-
Yes, inactive accounts may be automatically disabled after a long period of time. You can find information on that here. It sounds like your app uses "app folder" access though, so it may be likely that some users are accidentally deleting the app folder, since that can be done from any connected client or the web site. In…
-
By default, Dropbox API authorizations for your app don't become invalid and yield 'invalid_access_token' by themselves, but there a number of different ways that a Dropbox API access token can become invalid, including:* the user (or team admin) can revoke all access tokens for an app by unlinking it on any of the…
-
@"Marc_Gandar" I'm not sure I understand your message. Can you clarify? Do you mean you'd like Dropbox to show the unregistered redirect URI that was attempted to be used in the invalid redirect URI error itself? Dropbox does currently do that on that error page, where the text would look like this: Error (400) It seems…
-
Apologies for the trouble with the documentation. You can find the latest documentation for the .NET SDK here. For instance, here's the link for CreateFolderV2Async, for ShareFolderAsync, and for AddFolderMemberAsync. If you want to add a member as an editor, you should set AccessLevel.Editor.Instance as the accessLevel in…
-
@"GustavoCR" We just finished rolling out a fix for this. Please try again now.
-
@"Huezzer" That should be finished rolling out now.
-
@"Huezzer" Thanks for the note! A fix was released, but it may not be fully rolled out yet. I'll check in on that.
-
@"zakariaenabi" I'm not sure I understand what you mean when you say "which files exactly do I need in my program now?". For information on how to handle the authorization flow, please refer to the resources in my earlier messages in this thread. And if you're using one of the official Dropbox SDKs, be sure to refer to the…
-
@"luigiafassina" Can you clarify what you mean when you say "they disappeared for all the users in all my envs"? What exactly disappeared and how? The refresh tokens are strings that you should store and re-use. Apps and users can revoke refresh tokens on demand, though you should still have the refresh token strings…
-
@"calexmac" An 'expired_access_token' error indicates that the particular short-lived access token you used has expired, so you'd need to get a new one to continue making API calls. If you have a refresh token, you can do so by calling /oauth2/token with grant_type=refresh_token. Please refer to the messages at the…
-
To access content in your Dropbox, such as your backup data, you'll need to specify the path relative to the root. Do not add additional components not seen when browsing your Dropbox, such as "backups". The folder for backed up data is the name of the backup. For instance, if I have a backup named "Mac", containing a…
-
[Cross-linking for reference: https://stackoverflow.com/questions/74534382/dropbox-automatic-refresh-token-using-oauth-2-0-with-offlineaccess ] @"mauro991" Здравко is correct; refresh tokens are long-lived, so you should re-use it. I see in your code you are already requesting offline access and getting back a refresh…
-
Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused.
-
Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused.
-
There was a service disruption earlier that may have caused this issue, however I can't say for sure based on this error output. That disruption is resolved now, so please let me know if you're still seeing this issue. Thanks!
-
Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused.
-
Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused.
-
Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused.
-
@"Faulk" Здравко is right; it sounds like you want to access the "team space". You can certainly do so from any account that has access to the team space, but 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…
-
As Здравко noted, Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is 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…
-
@"sjyuenger" Здравко is correct, you can interact with the Dropbox folder on the local filesystem normally. And this section of the forum is for use of the Dropbox API though, not local filesystems, so I'm afraid I can't offer help with that.