Greg-DB Dropbox Community Moderator

Comments

  • Thanks for the post, and I'm sorry to hear about the confusion. You can find the full documentation for the official Dropbox API v2 .NET SDK hosted here: https://dropbox.github.io/dropbox-sdk-dotnet/html/R_Project_DotNetApiDocumentation.htm There are a a number of sections listed in the sidebar. The Dropbox.Api Namespace,…
  • What's the rest of the 'DownloadError' error output? It should contain a more useful error indicating the specific issue.
  • I'm not sure exactly what you were outputing for that GET request. Can you clarify exactly what you're logging and what is actually being sent to Dropbox? In your sample you repeated the 'response_type' parameter, which isn't expected. It's unclear if that's repeated in the URL parameters themselves, or if one is in the…
  • What you've described here is the correct way to connect a user if you want webhook notifications for changes in their account. You don't need to send any other explicit command to start monitoring. If you're still not able to receive the webhook notifications, please open an API ticket with the details (the app name, the…
  • The /oauth2/authorize location is a web page, and you should just be sending the user there in their browser, so the browser should just make a GET request to it. There shouldn't be a body for that HTTP GET request, nor would Dropbox use any parameters sent in the body. The URL parameters on the URL path itself are used.
  • It looks like the issue is that the SDK expects a 'response' handler on the 'files.download' call, but you're not supplying one. I'll ask the team to fix this up to fail gracefully in this case, but as a workaround (and as a best practice in general), you should add a 'response' handler, e.g., as shown here:…
  • @"chrismcfarling" There are a few ways you can get the team space ID. For instance, you can get it from the 'root_info' returned by /2/users/get_current_account: curl -X POST https://api.dropboxapi.com/2/users/get_current_account \ --header "Authorization: Bearer <redacted>" # { # <redacted> # "root_info": { # ".tag":…
  • @"chrismcfarling" Thanks for following up. I'll send this along to the team to request they make the documentation clearer. For reference, there are two different configurations that a Business team can use. The older non-team space configuration allowed users to mount multiple team folders under their member folders,…
  • Thanks for the report! I just tried reproducing this using the steps you described though, and it's working properly for me. Here's the code and output for each of the calls I tried, for reference: # user A: curl -X POST https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor \ --header "Authorization: Bearer…
  • @"chrismcfarling" Thanks for the feedback, and apologies for confusion! Здравко is correct, in terms of the Dropbox API, the folder you referenced is not itself a team folder, but rather just contained inside a team folder. Accordingly, by default it inherits the access properties of the parent team folder.
  • No, unfortunately we still don't offer an official way to do this. Apologies I don't have better news for you!
  • Yes, that's correct. (You can also still retrieve them using the public OAuth 2 flow.)
  • Without more information, I can't say exactly why your folders may not have been created. There are a number of ways for a create_folder_batch job to fail, resulting in the folders not being created. Please refer to the error documentation for the /2/files/create_folder_batch…
  • I'll follow up on this thread once I have any update on this API error. So far, we've determined that this error can occur when calling create_shared_link_with_settings with an access token for an account that has its links banned. I've asked the team to fix the API error handling so that a proper response is returned in…
  • If you're using the official Dropbox API v2 JavaScript to integrate with Dropbox in a JavaScript app, you should use the supplied 'getAuthenticationUrl' method to build your authorization URL, which will contain whatever redirect URI value you supply. There's a working auth example included with the SDK here. (Instructions…
  • First, I should note that we can't provide support for or endorse any other third party products or libraries, such as Xamarin.Auth. That said, on the Dropbox side of things, it's true that in the Dropbox OAuth 2 implementation, as a security feature, when using the "code" flow, the redirect URI (if provided) must start…
  • Thanks for the report! First, to confirm, yes, the job should run whether or not you actually check the status. If you don't check the status though, you won't know if it failed, and if so, why. Anyway, regarding the unexpected 'invalid_async_job_id' error, we looked into this and determined this can happen if the original…
  • In this screenshot, I see that your colleague is not using the "team space" configuration, so their team folders are mounted insider their member folder. That means that for them, they will be listed and accessible by default, without configuring the root for the API calls.
  • No, right now Dropbox doesn't offer a way to migrate existing accounts ahead of time, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • From your screenshot, I see you're using a team with the "team space" configuration. When listing or downloading files in an account with the team space configuration using /2/files/list_folder[/continue] or /2/files/download, the call will operate in the team member folder by default, and not in the team space. If you…
  • Those descriptions aren't quite right. You can find the official descriptions in the documentation for the FileMetadata object, e.g., as returned by /2/files/upload. In short, they're both the modified time of the file. The 'client_modified' time is the time as supplied by the client that uploaded the file, if any, and the…
  • Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers For instance, to upload files you can use…
  • Dropbox webhooks are only sent for changes in the accounts "connected" or "linked" to your app. That is, accounts for users who went through the OAuth app authorization flow to authorize your app to access their accounts. When you use the Dropbox Chooser, users can share links to specific files/folders with your app,…
  • I'm glad to hear you already sorted this out, and thanks for sharing your solution! I don't believe the streams returned for downloads in the Dropbox .NET SDK natively support seeking, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Based on the error, it sounds…
  • Thanks for the report! We'll look into it.
  • Apologies for the very late reply. Our forum software did not notify me of this post unfortunately. Anyway, in this case were you uploading the same exact file content? Even with WriteMode.ADD, if you just upload the same exact file content that is already uploaded at that path, it won't add another copy. You can find more…
  • 1) The functionality available on the API can sometimes lag behind the functionality in the product. The Dropbox API doesn't currently offer the ability to set a link to disallow downloads, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 2) Apologies for the…
  • It sounds like you're referring to the shared link bandwidth limits, documented here. That's unrelated to access token validity. Also, changing from free to paid won't affect access token validity. If you believe something isn't working as expected on the API, please feel free to open a ticket.
  • By default, Dropbox API access tokens for your app(s) don't expire by themselves, but there a number of different ways that a Dropbox API access token can become invalid: * the user can revoke all access tokens for an app by unlinking it on the connected apps page * any client with the access token can revoke the access…
  • Thanks for the kind words, and for sharing your code for others!