Comments
-
Thanks for checking in, thedeck. I don't have an update on that one yet. I'll follow up here once I do. And thanks for the information, jackolicious. For reference though, while the errors from different people on this thread are reported the same way to the API clients (i.e., a 500 error), they may be caused by different…
-
The "tag" is the way the API describes which member of the union the object is. The SDK uses it to determine what the "is" methods return. So, you don't need to access tag directly, as long as you use the "is" methods. To get the actual error information, use the respective field. For example,…
-
You can use the "is" methods to check which member of the error union a particular instance of the error is, then you can access the respective property for the specific error value, as shown here: https://github.com/dropbox/dropbox-sdk-obj-c#route-specific-errors The documentation details which methods/properties are…
-
For reference, that second parameter to the response block for any given API call is referred to as a "route error", because it is specific to the route. (Whereas the DBRequestError is not specific to the route.) Each of these errors are a "union" meaning any particular instance of them will be one of a set of values…
-
Are you using the SwiftyDropbox SDK? If so, yes, you can register a progress callback, as shown here: https://stackoverflow.com/documentation/dropbox-api/408/downloading-a-file/1349/downloading-a-file-with-progress-information-using-the-swiftydropbox-library#t=201702082051521729303 That sample is for downloading, but it…
-
You can retrieve an access token from the OAuth flow either using or not using a redirect URL, as you saw, but we recommend using a redirect URL when you can, as it streamlines the process. (For reference, if you do copy/paste the code, note that that's an "authorization code" and not an "access token". You need to…
-
We don't have a pre-built sync client that uses API v2 like that, but I'll be sure to pass this along as a feature request. If you want to implement one, you can use the API to list, upload, and download files as necessary.
-
Hi Mark, I'm not aware of any particular resources like that, beyond the sample code included with the new SDKs, but I'll send this along as a request to the team. I'll be happy to help with any particular issues or questions you have with API v2. Please feel free to reply here with details.
-
1. You're not supposed to be able to update the email address for a pending (invited) user, so I can't promise a behavior here. We're looking into this issue per your other forum thread though. 2. No, since the user has already joined, there won't be another invitation sent for them.
-
No update on this right now.
-
How exactly is it failing? What error/output are you getting? By the way, it looks like you're using the old PHP Core SDK, which uses Dropbox API v1, which is deprecated. You should migrate to API v2 whenever possible.
-
(By the way, you should switch back to the original authorizeUri line to test the desired redirect flow.)
-
Where does it fail exactly? You mentioned it doesn't get to the try/catch, so a good next step in debugging that would be to check if the Browser_Navigating method gets called at all. If it does, check what's happening with that if condition at the beginning of it.
-
The authorization flow is documented here: https://github.com/dropbox/dropbox-sdk-obj-c#handling-the-authorization-flow And implemented in the sample app here: https://github.com/dropbox/dropbox-sdk-obj-c/blob/master/Examples/DBRoulette/CocoaPods/DBRoulette/DBRoulette/ViewController.m#L24 Does that cover what you need?
-
We recommend using a package control system, as it helps developers stay up to date with updates of the SDK. I'll send this along as a feature request for support for installing from a framework file though.
-
That is the right way to get a direct link to a file using the API. I'll be happy to pass along as feedback or feature requests though. What specifically would be more useful? Thanks in advance!
-
Great, I'm glad to hear that helps. You can find more information on the design of API v2 on the blog: https://blogs.dropbox.com/developers/2015/04/a-preview-of-the-new-dropbox-api-v2/ https://blogs.dropbox.com/developers/2015/04/how-many-http-status-codes-should-your-api-use/
-
You can't upload to the Dropbox API without using an API app. In order to upload to Dropbox via the Dropbox API, you need a Dropbox API access token, and you can only get an access token via an API app. Note though that if the app is going to be distributed to end users, they don't need to register their own API apps. They…
-
I'm not sure I understand your request. What endpoint are you using? For example, /2/team/members/list doesn't support filtering for a particular email address, but if you have a specific email address, you can look up the member using /2/team/members/get_info.
-
You don't need to call getMetadata for each entry. You can perform the as? Files.FolderMetadata or Files.FileMetadata check on each Metadata object in the entries list returned by listFolder itself.
-
Which of the three supported installation methods are you trying to use exactly? It sounds like you want to use the "manually add subproject" method. If so, make sure you follow all of those steps. For example, make sure you add it to "Embedded Binaries".
-
When/where does it give that error, and what installation method did you use?
-
It sounds like you're referring to the DBRoulette sample for the Official Objective-C SDK for the Dropbox API v2. There are three copies of the example project, one for each supported method of installation. To get started, you should pick the one for the installation method you prefer, and then follow the installation…
-
There's another example for uploading from a file from an input tag here: https://stackoverflow.com/documentation/dropbox-api/409/uploading-a-file/1359/uploading-a-file-via-jquery-in-javascript#t=201702061903317042582
-
The team has improved this somewhat, but is still working on bringing this back down more.
-
I can't make any promises, but I'm sending this along as a feature request.
-
It looks like you're running in to two different errors here, so I'll address them separately. The first one, the 404 in the first screenshot, indicates that there's nothing found at the specified path in the Dropbox account. In the bottom half of that screenshot you're just showing a folder on the local filesystem, not…
-
Thanks! No, please make sure you have access to the email account for the email address registered to your Dropbox account so you can receive replies to your ticket.
-
The path you supply to UploadAsync should be the remote path in Dropbox where you want to put the uplaoded file content. It needs to match the regex pattern given in order to be a valid path for Dropbox. The path you're currently supplying probably looks something like "C:\FolderName/\temp.dat". If you want to upload to a…
-
Thanks for the post! I'm not sure off hand if an expired team should cause that. Please open a ticket with the request and response so we can check on this for you: https://www.dropbox.com/developers/contact Just make sure to redact the access token. An access token generated on the App Console will work the same as an…