Greg-DB Dropbox Community Moderator

Comments

  • Cette erreur indique un problème avec la configuration de l'application. Le développeur de l'application tierce que vous essayez de lier devra demander la "production" avant que davantage d'utilisateurs puissent s'y connecter. Je vous recommande de contacter le développeur de l'application en leur demandant de le faire.…
  • Dropbox doesn't offer an API for interacting with or displaying Showcase, but I'll pass this along as a feature request. 
  • [Cross-linking for reference: https://stackoverflow.com/questions/51929171/adding-group-to-the-team-folder-using-api-not-working ] I believe this is due to a change in how our membership model works for operations in team folders like this. We're looking into that change, but to make this work, please use the "Member file…
  • Thanks for following up! I'm glad to hear this is working now. Please let me know if you see the issue again. For reference, I was able to trigger the reCAPTCHA successfully in my testing. @"westsider" Likewise, please let me know if you're still seeing this.
  • I'm having some trouble reproducing this. Can you let me know: - Are you still seeing this issue? - What specific version(s) of iOS are you seeing it on? - Are you seeing this in the simulator, or only on the physical devices? Thanks in advance!
  • The Dropbox API certainly still works with .jpg files. (I tested your code with a .jpg file in fact.) At the layer where this is failing, the file type shouldn't matter anyway. It may have to do with the file size though. Perhaps try to different sizes to verify that? Otherwise, it if you did do an update, it may be a bug…
  • It looks like this is failing at a much lower level than the Dropbox SDK, so I'm afraid I can't offer too much insight. For reference, here's the documentation for the 'OpenSSL.SSL.WantWriteError' error. Your Dropbox code looks fine though, and I just tried it and it worked for me (when putting in a valid path on my…
  • Thanks for the reports! We'll look into it.
  • Apologies, I believe I misread your code. The SharedFolderId field is only available on folders that are shared. I see that you were actually calling GetMetadata (as far as I can tell, from the variable names you're using), so that won't be available. You should call that on the folder itself to get that instead. I.e., to…
    in Folders Comment by Greg-DB August 2018
  • The JavaScript Dropbox Chooser now allows you to set a size limit via the 'sizeLimit' parameter: https://www.dropbox.com/developers/chooser
  • Can you open an API ticket with the specifics so we can look into this specifically for you? https://www.dropbox.com/developers/contact The following would likely be helpful: - the app name or key - the affected user ID(s) - a sample job ID for a job that failed, and a corresponding sample path for a missing file Thanks in…
  • This request is open with the team, so they are aware. I just don't have any news to report back from them.
  • @"ampinwatec" No, unfortunately I don't have any news on this.
  • In this code, you're just using 'Id'. You need the 'SharedFolderId'. In your code, that should be something like: link.SharingInfo.SharedFolderId
    in Folders Comment by Greg-DB August 2018
  • You can get the shared folder ID from SharedFolderMetadata.SharedFolderId (e.g., from a completed ShareFolder job, or elsewhere, such as from ListFolders/ListFoldersContinue) or from FolderSharingInfo.SharedFolderId in FolderMetadata.SharingInfo (e.g., from ListFolder/ListFolderContinue or GetMetadata).
    in Folders Comment by Greg-DB August 2018
  • The 'members' parameter does require a IEnumerable<AddMember>, but it appears you're only supplying a AddMember, not in an IEnumerable. I'm not a Visual Basic expert, but I believe you can build it like this: Dim myMembers() as AddMember = {New AddMember(New MemberSelector.Email(emailAddress), Nothing)}
    in Folders Comment by Greg-DB August 2018
  • That would look something like this: var members = new[] { new AddMember(new MemberSelector.Email("email@example.com")) }; await this.client.Sharing.AddFolderMemberAsync(sharedFolderId, members);
    in Folders Comment by Greg-DB August 2018
  • To share a folder with a specific Dropbox account using the .NET SDK, you should use ShareFolder to share the folder (once per folder), and then AddFolderMember to invite member(s) to the folder. By the way, I redacted it from your post, but for the sake of security, you should disable the access token that you posted. You…
    in Folders Comment by Greg-DB August 2018
  • To clarify, are you getting anything in the console with this version? This code looks fine, but note that it supplies the file information in the 'then' callback; it does not automatically download it to local filesystem of the computer where the browser is running. In this code, you are appending some text to the…
  • No, unfortunately there isn't a single permission that combines what you're looking for, but I'll pass this along as a feature request. You can find information on the different Dropbox Business API access types here: https://www.dropbox.com/developers/documentation/http/teams#access-types If you need all three of…
  • I think that's because you're using '.Result' instead of 'await'. That's more of a general C# exception handling matter though, so I can't provide much insight there. You'll probably need to change how you structure your exception handling, or switch to using 'await'.
  • I don't have a sample available for that unfortunately. The basic idea is to call SaveUrlAsync with the 'path' for where you want to save the file, and the 'url' for the hosted file data to save. Then, if the SaveUrlResult gives you an AsyncJobId, call SaveUrlCheckJobStatusAsync ocasionally to check on the job status.…
  • To enable other users to connect to and use your Dropbox API app, you should implement the Dropbox API app authorization flow. There's a guide that covers this here: https://www.dropbox.com/developers/reference/oauth-guide The documentation can be found here:…
  • [Cross-linking for reference: https://stackoverflow.com/questions/51843799/process-gdrive-dropbox-folder-in-cloud-how-to-start ] Dropbox does offer an API you can use for listing, downloading, and upload files, among other operations. You can find everything you need to get started with the Dropbox API, including…
  • Using the GetMetadataAsync method is the right way to check for the existence of something at a particular path. You're correct that there is a more native way to to the error handling though. For example: catch (ApiException<Dropbox.Api.Files.GetMetadataError> e) { if (e.ErrorResponse.IsPath &&…
  • @"JayPatel1992" I see you opened a new thread with more details, so I'll follow up there: https://www.dropboxforum.com/t5/API-Support-Feedback/How-to-check-folder-exist-or-not-and-how-to-upload-image-using/m-p/291082#M17792 
  • To download a file from a Dropbox shared link directly to your own Dropbox account, you can use the /2/files/save_url endpoint: https://www.dropbox.com/developers/documentation/http/documentation#files-save_url Note that this only works if the shared link is for a file, not a whole folder. If you need to download specific…
  • I'm not aware of current plans to implement this unfortunately.
  • To get a temporary link to a file on Dropbox using the official Dropbox API v2 Python SDK, you should use the 'files_get_temporary_link' method. The 'path' there should be the path to the file on Dropbox. You can supply that directly, or get it from Metadata.path_lower (e.g., as returned by 'files_upload', etc.).
  • Nothing appears to be wrong with that code. Can you let me know: - what version number of the .NET SDK you have installed. - how you're checking that this call runs forever. It should eventually time out if it doesn't complete. Are you sure your program isn't hanging somewhere else? It may be useful to step through with a…