Comments
-
I don't see anything clearly wrong with your request. To help troubleshoot this, can you share the full/raw request and response? (Just be sure to redact your app secret.) Also, this blog post may be helpful: https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/
-
That's correct, a Dropbox API access token doesn't expire by itself, but it can be revoked at any time, by either the user or app. That being the case, your app should store and re-use the access token for a user. What you can do with the final state of the browser in the app authorization flow depends on exactly how you…
-
Apologies for the confusion! This is actually referring to the /2/team/properties/template/add route. You can find the documentation for that in the "Business Endpoints" documentation: https://www.dropbox.com/developers/documentation/http/teams#team-properties-template-add I'll ask the team to clarify this in the…
-
When using sharing_add_folder_member, you specify the people to invite via the 'members' parameter, which expects a list of AddMember. (Apologies the type isn't more clearly shown there. We'll make a note of that.) So, you can invite someone to a shared folder using the Python SDK like this: member_selector =…
-
No, unfortunately we don't have anything pre-built like that.
-
Yes, that would be the only safe way to do it.
-
No, the Dropbox API doesn't automatically expiring tokens, but I'll be sure to pass this along as a feature request. You can revoke any token on demand though, using authTokenRevoke. Also, note that the API was designed with the intention that each user would link their own Dropbox account, in order to interact with their…
-
Thanks for the reports! I'll send this over to the right people here to look into it.
-
API v2 does offer much more granular errors, but you can use as much or as little of that granularity in your app as you want. For instance, this example only does high level handling of any DbxException: Wheres this example distinguishes between CreateSharedLinkWithSettingsErrorException and DbxException: You can drill…
-
I'm not sure I follow. Can you share the full error/output you're getting? Also, to clarify, you are entering the values in updateAccessToken:@"" accessTokenSecret:@"" forUserId:@"" and are just redacting them for the forum, correct? You should, as the access token is sensitive, but I want to make sure you do have the…
-
Thanks for the report. I can't seem to reproduce this though. Your code looks correct and is working for me. Is there anything on your network connection that may be interfering? For example, any anti-virus, proxy, firewall, or other security software. Or, is your network connection itself unreliable?
-
Each of the endpoints uses one of a few formats, indicated in the "endpoint format" section of the documentation for the endpoint. For example, /2/files/get_metadata uses the RPC format and /2/files/download uses the Content-download format. That Request and response formats section explains how each format works.
-
The Dropbox API v2 .NET SDK doesn't officially support Unity unfortunately, so I'm afraid I can't offer a good solution here. I'll send this along as a feature request for Unity support to the team, but I can't make any promises as to if or when that would be implemented.
-
Unfortunately, the Dropbox API doesn't offer a way to export an event history like this, but I'll be sure to pass this along as a feature request.
-
[Cross-linking for reference: https://stackoverflow.com/questions/43412871/upload-selected-file-from-dropbox-to-amazon-s3-using-javascript ] It sounds like you already have the Dropbox part of this working, so I don't think I can be of much use here. Make sure you're using "direct" links and not "preview" links for this…
-
As far as I can tell, the only difference between the two errors is the redaction, so I don't have any new insight to offer here.
-
We don't offer a way to "deep link" to any particular file or folder, while accomodating for different folder structures across accounts, but I'll be sure to pass this along as a feature request. You can programmatically create a shared link while still enforcing "team only" access control though. To do so, you'd…
-
Hi Michael, it looks like the Dropbox part of this is working correctly. The result.entries value is an NSArray of DBFILESMetadata, which you can use however you like in your app. For example, you can iterate over that to get the name or pathDisplay of each item, and use those values to construct the UITableViewCells. The…
-
There doesn't seem to be any Dropbox functionality in your code, so I'm afraid I can't offer any help. This may be better suited on a general web development forum or StackOverflow.
-
Thanks! In that case, they won't be able to directly interact with each other, since each one is confined to its own app folder. The user could copy/move files between the two, but that would be a manual process via dropbox.com or a Dropbox client. And yes, if you instead used a full Dropbox app, it would have access to…
-
Once you've set the access token, you can get a DBRestClient using DBRestClient.initWithSession. From there, you use the client normally: https://www.dropbox.com/developers-v1/core/start/ios
-
Thanks! Calls to Console.ReadLine like that would cause the requirement of console input like that, but based on your output it doesn't look like these particular instances of Console.ReadLine are the cause. Do you have Console.ReadLine anywhere else in your code? Also, I do recommend using the debugger to step into your…
-
This should be fixed in the latest release of the SDK, v3.0.2. Please update and let me know if you're still seeing any issues.
-
Dropbox does have an abuse detection system in place to detect and prevent automated logins to help protect our users against account compromise. It uses a variety of factors to decide whether or not to display a captcha, so whether or not you see it may vary over time. Unfortunately though, no, Dropbox doesn't provide a…
-
If your program is waiting for keyboard input, that sounds more like something to do with its use of Console, and not the Dropbox API. The Dropbox API is just a programmatic interface, so it doesn't require manual user input. I recommend using the debugger to see exactly where execution is pausing. Also, I noticed that…
-
For reference, it is expected that the automatic redirect won't happen in all cases. For example, it will only occur if the redirect URI starts with https://.
-
The checkAndPerformV1TokenMigration method is defined in the SDK, but it's relatively new, so make sure you have the latest version installed.
-
No, the Dropbox API doesn't offer a way to create a temporary link for a file but with a different name. I'll send this along as a feature request.
-
Those two are effectively the same. The first one was built with API v1, but we added another route without that part of the URL since it can be used for both API v1 and API v2. You should use the second one, without the /1/.
-
First, note that the API URL you shared is for Dropbox API v1, which is deprecated: https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/ You should switch to API v2 instead: https://www.dropbox.com/developers You can create a shared link URL for a file or folder using /2/sharing/create_shared_link_with_settings:…