Comments
-
Thanks! Your definition DB_CHUNK_SIZE of seems like it should be fine, but I don't see exactly where it's actually being used. Can you share the definitions of TGDropboxObject, readDataOfLength, getOffsetFromObj, closeFileFromObj, and anything else necessary so I can try to run this? Thanks in advance!
-
Depending the type of error, the body with either contain a plain text error message, or a structured JSON error. You can use the response's Content-Type header to determine the type of error and have your app handle it accordingly. We don't have any plans to change how this works. You can find information on the high…
-
I'll be happy to help this, but I'll need some more information. Please reply with: - the name and version of the platform and SDK/library you are using - the steps to reproduce the issue - the full text of any error or output - the relevant code snippet(s)
-
[Cross-linking for reference: https://stackoverflow.com/questions/41807719/how-to-get-the-valid-url-using-dropbox-api-media-endpoint ] Can you elaborate on what the issue you're running in to with the URL is? Are you getting an error?
-
I don't have a example of using the Dropbox API with ColdFusion unfortunately, but perhaps someone else on the forum does. For reference, to upload a file using the Dropbox API, you can use the /2/files/upload endpoint: https://www.dropbox.com/developers/documentation/http/documentation#files-upload There's a curl example…
-
1. The chunk size should just be the size of the data you supply for any given call, and that's what should get reported back in the progress callback, so it's unexpected that you'd still get 32768. Can you share the rest of the relevant code, including the definition of length, the progresc callback definitifion, etc.? 2.…
-
No update on this.
-
Thanks for the report! We're still working on these remaining errors.
-
The SDK handles the access token retrieval and storage for you, so you wouldn't have had to deal with it manually before, but you'll need to extract them in order to hand them off to the new SDK. As far as the client for the new SDK is concerned, I recommend working through the readme here, which shows how to configure the…
-
It sounds maybe like the architecture settings for your app and the pods don't match, or that you don't have arm64 listed in your build architectures. You can configure these in your project's "Build Settings", under "Architectures".
-
Thanks Robert. That's the right change. DBError was renamed to DBRequestError in 2.0.0: https://github.com/dropbox/dropbox-sdk-obj-c/releases/tag/2.0.0
-
The contents of the "Podfile.lock" file should tell you what you currently have installed. You can control what version you get installed using the contents of your "Podfile" file. You can use this line to just request the latest version: pod 'ObjectiveDropboxOfficial' Run `pod update` to update the pods installed in your…
-
Hi Robert, what version of the SDK do you have installed? This sounds like a bug that was fixed in version 1.1.1. Please make sure you're using the latest version, currently 2.0.6.
-
The API v2 Objective-C SDK itself supports iOS 8+. If you need to support older versions of iOS, you can either fork the SDK and make the necessary modifications for your use case, or call the HTTP interface for API v2 directly without using the SDK.
-
The DropboxSDK.framework is the iOS Core SDK, which uses API v1 and OAuth 1 access tokens. You can find the API v2 Objective-C SDK here: https://www.dropbox.com/developers/documentation/objective-c
-
Hi Bob, were you using an official API v1 Dropbox SDK, either the Core SDK or Sync SDK? If so, then yes, your app has OAuth 1 access tokens stored. (Both of those SDKs only used OAuth 1 access tokens.) If you weren't using an official SDK, the easiest way to check is to see if your access tokens have two pieces (a key and…
-
Hi Logan, are you using a chunk size of 32768 bytes? You should probably use something much larger than that, at least 4 MB, or even significantly larger than that. The optimal size depends on a variety of factors, so you may want to try a few different ones and see what works best for your app. Using a small chunk size…
-
Can you share the code you're using and a sample URL that results in this error? Thanks in advance!
-
The Dropbox API rate limiting system is actually relatively generous. We don't have any specific numbers documented, but making 100 calls shouldn't be an issue. Alternatively, you can download the files directly from the Dropbox API, e.g., using /2/files/download or /2/files/get_thumbnail, and then cache and serve them…
-
Thanks for the feedback! I can't make any promises, but I've added your vote to the feature request.
-
Thanks for confirming that, attic. Yes, the issue that volkeru/attic reported should be (mostly) resolved now. You may see some more, that we're working on fixing, but the rate should be much lower now.
-
The API v2 Objective-C SDK doesn't have a method like cancelAllRequests to cancel all active requests at once, but I'll be sure to pass this along as a feature request. When using upload sessions though, since you control how and when each portion is uploaded, you can have your app stop the upload session by stopping…
-
No update on this. I've added your vote to the feature request. We recommend using /files/list_folder[/continue] for getting changes to folders. You can use /files/list_folder/longpoll for low-latency notification of changes in client-side apps, and webhooks for server-side apps.
-
Thanks for the feedback!
-
I don't have particular dates for when we introduced different authentication types, but they are documented here: https://www.dropbox.com/developers/reference/auth-types Are you running in to any issues with them?
-
The Chooser actually isn't built on the API (v1 or v2). It's a separate piece of functionality, and isn't affected by the API v1 deprecation, so you don't need to update your Chooser integration.
-
Thanks! I'll send that request along as well.
-
Thanks for the report! That's based on the User-Agent of the browser used, so it looks like we need to improve the detection there. We'll look into it.
-
The sample uses a localhost redirect URI by default, but you can change that to be whatever you need. That's done here: https://github.com/dropbox/dropbox-sdk-js/blob/05e8ff949ab352ab5a483507222f17231e3b4d9d/examples/auth/index.html#L89 Per the other screenshots, you're using a 1.1.1.58:8080 redirect URI. You'll also need…
-
That code doesn't list or display any files. It only downloads a file at "/Documents/RamKolText2.txt". If you want to get a list of files to display to the user, you can use listFolder and listFolderContinue.