Comments
-
Closing as duplicate of: https://www.dropboxforum.com/t5/Dropbox-Business-admins/DATA-DROPBOX-IN-WEBSITE/m-p/211625#M857
-
Grazie per il post! Non abbiamo la documentazione in italiano, purtroppo. Manderò questo insieme come una richiesta di funzionalità. Noi non facciamo uno SDK ufficiale di PHP per Dropbox API v2, ma, è possibile utilizzare i punti finali HTTPS stessi: https://www.dropbox.com/developers/documentation/http/documentation o di…
-
Based on the stack trace, this error is ocuring in the "new FileOutputStream" line, and not in Dropbox code, so I'm afraid I can't offer much insight. That said, the "Zugriff verweigert" error seems to translate to "Access denied", so it may be a permissions issue. You'll need to investigate why you don't have permission…
-
After a user unlinks your app or deletes the app folder, any further API calls will fail with a 401. In the API v2 Java SDK, for example, the API call method will raise an InvalidAccessTokenException.
-
It sounds like you're referring to the getThumbnail[Stream] methods in the Android Core SDK. To get thumbnails in the API v2 Java SDK, you can use getThumbnail or getThumbnailBuilder.
-
That's the correct documentation for this error. It generally shouldn't happen often, but if it does, it may indicate an issue with your upload session logic that you should debug. When you do get it though, you can have your app continue with the upload session, but pick it up from the specified correct offset. For…
-
Hi Ashley, for the special OAuth routes like that, the /1/ isn't actually relevant (that is, the functionality is specific to the version of OAuth, not the version of the API). So, you can continue using that, and I'll ask the team to add a non-API-versioned equivalent to make that clearer.
-
Thanks for clarifying, that's very helpful!
-
Thanks for reporting this! We did have a service disruption earlier today, but it should be resolved now. Please let us know if you're still seeing any issues.
-
By the way, I'm not sure I understand this suggestion: "things like SearchMode.FilenameAndContent.Instance should be enums that are "or"able" Can you elaborate? Thanks in advance!
-
You should use the API v2 Java SDK for Android. There's an Android example app that uses that for reference.
-
The authenticationSuccessful is only meant for use during the actual app authorization flow, when the user chooses whether or not to authorize the app. That being the case, it will only return true during that first session. If you just want to know if you have an access token, you should use isLinked. By the way, I…
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-obj-c/issues/109 ]
-
Yes, right now unfortunately there isn't a generalizable way to do this, e.g., with a protocol. You'd have to store each necessary type and keep track of them. I've filed this with the team as a feature request for a good way to do this though. Anyway, the code I shared did work for me. Based on the error you're getting,…
-
I'm not sure if I follow your question, but if you're looking for alternate versions of the Dropbox .NET methods, they are also available. E.g., for Download: https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_BeginDownload_1.htm…
-
We've had our engineers working on this and the good news is the problem has been fixed. Please try again and you should find that this functionality works correctly. Apologies for any inconvenience this caused.
-
The Dropbox API doesn't currently offer a way to create Paper documents programmatically, but I'll be sure to pass this along as a feature request.
-
Thanks for following up. I'm glad to hear you got this sorted out already. By the way, on the Dropbox side of things, a trailing slash isn't strictly required on a redirect URI, but it is required that the pre-registered redirect URI exactly match the value supplied in the redirect_uri parameter on /authorize. That would…
-
Thanks for the reports! We're looking into it. I'll follow up here once I have an update.
-
Can you share the full URL for the 400 error (and any other error/output you're getting)? Thanks in advance!
-
The error message seems to be indicating that your app isn't allow to access the local path (not the remote Dropbox path). That being the case, this seems to be more of an Android issue, so I'm afraid I can't offer much insight. You'll need to look in to why your app can't access that local file path, or if that's not the…
-
I see, thanks for elaborating. In that case, you can just pass in "" as the access token in the DropboxTransportClient, and then use that with setupWithAppKey. It should still then use the automatic auth flow and client. Give that a try and let me know if it doesn't work for you. (We're planning on making this more…
-
The auth flow and client retrieval should work regardless of which version of setupWithAppKey you used, so you should be able to just use the one that takes a transport client in the first place. Does that work for you?
-
Thanks for elaborating! Right now you can do this explicitly, like: var request: UploadRequest<Files.UploadSessionStartResultSerializer, VoidSerializer>? self.request = DropboxClientsManager.authorizedClient!.files.uploadSessionStart(input: Data()).response(completionHandler: { (result, error) in if ((result) != nil) {…
-
We'll be happy to help with this. Can you share the name and version of the SDK you're using, as well as the relevant code you have so far? Thanks in advance!
-
When you call uploadSessionFinish (to get your UploadSessionFinishUploader), you supply a CommitInfo instance as the commit parameter. That CommitInfo instance should have a mode (a WriteMode) which determines how the file is written. The equivalent to API v1's "parentRev" is to use the update mode where the value is the…
-
Thanks! We'll look into it.
-
Thanks for following up. This has been requested a few times before, and I've added your vote. I can't promise if or when this will be implemented though.
-
Thanks for the feedback! I'm passing it along.
-
Thanks for the feedback! I'm sending this along to the team as a request for a read-only permission.