Comments
-
@"andrijaFlowNinja" This appears to be an issue on the Dropbox servers so we'll need to fix it on our side. We're working on it and I'll reply here once I have news.
-
Thanks, that's helpful. We're looking into it. I'll follow up here once I have an update on this.
-
It looks like you may be experiencing a new/different issue, so I've moved your posts here. Can you share the steps/code to reproduce the issue you're seeing, as well as any error or unexpected output you're getting? Thanks in advance!
-
Thanks for the report! We're looking into it. I'll follow up here once I have an update on this.
-
Thanks for the report! We're looking into it. I'll follow up here once I have an update on this.
-
Thanks for the report! We're looking into it. I'll follow up here once I have an update on this.
-
@"synology_support" This should be fixed now. Please let us know if you're still seeing any issues. Thanks!
-
In your JavaScript code, you're using the token as an access token, however in your .NET code, you're using the token as a refresh token. Access tokens and refresh tokens are different objects and are not interchangeable, so you can't use the same token both ways like that. If the token you have is a refresh token, you…
-
@"athithan" Thanks for the additional information. I'll ask the team to support "Dropbox-API-Select-Admin" on /2/sharing/list_file_members/continue, but I can't promise if or when that might be done though. Instead, you'd need to use "Dropbox-API-Select-User", but make sure you're providing the member ID of an account that…
-
@"athithan" To echo what Здравко said, how did you make these two calls? It may be helpful if you can share the request for each of them so we can take a look. Be sure to redact the access token though. You can open an API ticket here if you'd prefer to share privately.
-
I see you are requesting the refresh token, but you don't seem to actually be using it anywhere in the code you shared. Whenever you need a new short-lived access token, you should call /oauth2/token with grant_type=refresh_token, as shown in step 5 of the offline example in this post.
-
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 to be done manually by the user at least once. If your app needs to maintain long-term access without the user manually…
-
@"babydream" As Здравко said, the code you shared here doesn't show an attempt to create a shared link. Files don't have shared links by default, so sharing_list_shared_links won't list a shared link for a file before one is created. Also, when copying a file, such as using files_copy_v2, a shared link on the original file…
-
The process you described isn't quite correct. Upload sessions work by having you upload just a portion of the file in each request (that is, per uploadSessionStart, uploadSessionAppendV2, or uploadSessionFinish call). You would not send the full file data in each request. For each request, you read off and upload just the…
-
@"synology_support" We've reproduced the issue and are working on a fix.
-
@"synology_support" Thanks for the report! Здравко detailed some steps to follow to illustrate the issue if you can, which may be helpful. We'll also look into it regardless. I'll follow up here with any news on this.
-
An access token is just a string, so you could technically transmit it using whatever communication mechanism you wish. If you give the access token string, which was created by authorization from an admin, to a non-admin user, they could then technically run the same code to make a DropboxTeamClient, list groups, list…
-
Thanks for the report. It looks like you're running in to an issue where the "I agree to Dropbox API Terms and Conditions" checkbox is sometimes not being shown if/when you have paired accounts. I'll ask the team to fix that. For now, to work around that, you should be able to get this working by manually running the…
-
@"tdriver6" I see you also posted in a new thread, so I'll follow up with you there.
-
You cannot get a DropboxTeamClient based on a non-admin's authorization. To get a DropboxTeamClient, you would need to use team scopes and have an admin authorize the connection. Since using team scopes means the connection would be able to access the entire team and perform team-level operations, only a team admin is able…
-
Yes, if you have a DropboxClient you can call ListSharedLinksAsync to list the shared links for that file for only that user. If you only need to list all of the shared links for that file for that particular user, that would work. If you need to be able to list all shared links for a file across all members of the team…
-
Closing as a duplicate of this thread.
-
When using any "team" scopes, the app can only be authorized by a team admin, because it would be connected to the entire team, not just a particular account. If you just want to connect to a particular account, you can disable any team scopes, so that it can be authorized by non-admins. Access tokens/refresh tokens…
-
@"pankajetal" Здравко is correct; https://www.dropbox.com/oauth2/authorize is a web page, not a token or API call. You can find more information on how this works in the following resources: * https://developers.dropbox.com/oauth-guide * https://www.dropbox.com/developers/documentation/http/documentation#authorization *…
-
@"IndyDev" Thanks for the report. I'll ask the team to look into this.
-
Thanks. Can you let me know which web browser you're using, and the version number of that web browser? I just tried this myself and I was able to apply changes by clicking the button while it's greyed out, so we'll need to try to reproduce the particular issue you're seeing.
-
Thanks for the report! To clarify, if you do try to click the greyed out "Submit" button, does the change work? I see that there's a styling issue with how these buttons are displayed. I'll ask the team to fix that up. In my testing the button is still working for me though, but if it's not working for you please let me…
-
This isn't a matter of changing your code to use 'async'/'await' operations. This issue occurs when the client variable itself is deinitialized, which severs the network connection performing the API call. In typical cases, the app would use the authorizeFromControllerV2 method and get the client from the authorizedClient…
-
@"ms97" Здравко is correct; your output shows that your file upload was empty, which is why the Dropbox web site was not able to show the contents. You'll need to debug your integration to make sure you correctly upload the non-empty data.
-
According to the Alamofire documentation, sessionDeinitialized means: Session which issued the Request was deinitialized, most likely because its reference went out of scope. There's also a description about it here: Session was invalidated without error, so it was likely deinitialized unexpectedly. \ Be sure to retain a…