Comments
-
@"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…
-
Can you show where/how you're getting the 415 error? For instance, is that happening on the Dropbox web site? It may be helpful if you can share a screenshot of it. If it's on the web site, be sure to show the URL for context. Also, if the files_upload method doesn't raise an error, it should return a value containing the…
-
@"brtdvrs" I'm not sure I understand your latest question. If you need help using Visual Studio, you'll need to refer to the documentation/support materials for that. Dropbox doesn't make Visual Studio itself so we can't offer support or guidance on how to use it in particular. In your first post in this thread you shared…
-
@"brtdvrs" As Здравко said, you may have registered your app for "app folder" access, in which case it would only be able to access the contents of the special app folder that gets created for it automatically. You can find more information here. App folders are empty by default.
-
The connection speed any particular client sees to the Dropbox API servers will depend on a number of different factors, such as their network connection/ISP, network conditions and routing, etc. These are not things Dropbox itself can control, and may vary over time. There are some potential optimizations the developer…
-
Thanks for sharing that. From the screenshot, I see you're loading HTML from the Dropbox web site in your IDE output window itself. The Dropbox web site should only be loaded in the system web browser. I can't offer support for your platform or IDE themselves as those aren't made by Dropbox, so you may need to refer to the…
-
@"amzp" I don't have any news on this feature request.
-
The Dropbox API does offer the ability to create and retrieve shared links programmatically. To create a shared links for a file or folder, you should call the /2/sharing/create_shared_link_with_settings endpoint. To retrieve existing shared links, you would call /2/sharing/list_shared_links. By the way, those are links to…
-
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. This applies whether the app is in development or production status.…
-
@"edodgen" I was looking through your code, and I see you're using 'response.matches' to access the search matches. What version number of the SDK are you using? If you're using v6 or greater, you should instead access the matches as 'response.result.matches'. Also, I notice you're using parameters from FilesSearchArg…
-
If I understand, it sounds like you're calling 'filesSearchV2' with a particular 'query' that is expected to match something in the connected account, but 'response.matches' is coming back empty. Is that correct? In that case, it would be best to open a ticket here from the affected account and include the options you are…
-
Can you share the name and version number of the web browser you're using to open the https://www.dropbox.com/oauth2/authorize... page when this fails? A screenshot of the issue you're seeing may also be helpful for context. Thanks!
-
I'll send this along as a feature request to update the API to support read-only access for these resources for accounts with unverified email addresses, but I'm not aware of any such current plans and I can't promise if or when that might be implemented. To unblock this for your own account, you can manually verify the…