Greg-DB Dropbox Community Moderator

Comments

  • No, unfortunately I don't have an update on this.
  • To upload a file to Dropbox using the Dropbox JavaScript SDK (regardless of whether or not you happened to save it as a file locally), you should use the filesUpload method. There's an example of doing so here for browser JavaScript, and here for Node. Those upload from local files, but you can also upload directly from…
  • You can check what the specific returned error means in the documentation: https://www.dropbox.com/developers/documentation/http/documentation#files-copy_batch-check For instance, click on 'RelocationBatchV2Result', and so on, to drill down to the relevant error. In this case, for…
  • The "authentication" section of a Dropbox API endpoint's documentation lists the supported authentication types for the endpoint. You can use any one of these to call the endpoint; you do not need to use all of them. If you're using a "Dropbox API" app, e.g., with the "full Dropbox" or "app folder" permission, you're using…
  • That URL is actually for a preview web page for the file, not the file data itself. (The short file you're getting back is probably the HTML page itself.) You can modify these shared links for direct file access if you need though. You can find information on doing so here:…
  • We now have the ability to offer developers access to a free Dropbox Business Development Account. This will allow you to test your app using a standard Dropbox Business team. You can request one using this online form. Once the team approves your request, you’ll be sent instructions by email to set up your development…
  • The Dropbox Java library should already be ready for this. Note from the guide: If your app uses only code written in the Java programming language or Kotlin, including any libraries or SDKs, your app is already ready for 64-bit devices. The Dropbox Java library is written in Java.
  • Cursors from /2/files/list_folder/get_latest_cursor should now properly respect the `include_property_groups` parameter. Please try again and let me know if you're still seeing any issues. Thanks!
  • @"DS6" If you want to cancel the request, you should explicitly call `cancel`. (I can't guarantee that `nil`ing the object will be sufficient.)
  • Thanks for letting us know, and apologies for the trouble! We'll check on this again and follow up here once we have an update for you.
  • Yes, you can use the /2/team/members/remove Dropbox Business API endpoint to delete an account and free up a license: https://www.dropbox.com/developers/documentation/http/teams#team-members-remove By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official…
  • The data transport limit only applies to Business plans, not individual plans. That means that individual plans, i.e., Basic, Plus, and Professional, do not have a monthly upload call limit. Hope this helps! 
  • You can use CopyBatchV2Async to copy files and/or folders. Note that this copies the item itself, e.g., the entire folder including the folder itself, not only the folder's contents. The 'ToPath' should be the desired path of the copied item itself, not an existing folder. E.g., if you want to make a copy of an existing…
  • All Dropbox API calls occur over standard HTTPS connections (specifically, currently using TLS v1.0, v1.1, or v1.2) initiated from the client sent to the Dropbox API servers, so that would just be destination port 443. That is the same regardless of geographic location and can't be changed. You can find the official list…
  • Dropbox offers 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. Dropbox doesn't offer an official SDK for Dropbox API v2 for PHP/Laravel in particular, but you…
  • That's correct, unfortunately there currently isn't a way to share access to the app's settings page with other users, or have an app owned by the team itself, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, creating an account explicitly for…
  • I see, thanks for clarifying. The Dropbox API doesn't offer a way to upload multiple files in one call, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, you will need to loop through your files and call filesUpload once per file. Apologies I…
  • The filesUpload method is the right way to upload multiple files, by calling it once per file. Can you elaborate on what exactly isn't working for you so we can provide some more specific guidance? For instance, is some part of your code giving you an unexpected error? Please share any error or unexpected output you're…
  • Using /2/sharing/list_folder_members[/continue] is the correct way to look up the owner of a shared folder. The member who owns the shared folder, if any, would be identified by the "access_type" value being "owner" (in place of "editor" in your sample). In your output, there isn't an owner listed though. This, along with…
  • @"zainulabideen" No, unfortunately I don't have an update here. This capability has not been added to the API.
  • If you are a user using a third party app and are seeing this message, please contact the developer of the third party app for help. If you are the developer of this app, please refer to the documentation here.
  • We can't offer support with CodeIgniter itself, as that's made by a third party, but we'll be happy to help with any questions or issues you have regarding the Dropbox API. Apps should implement the OAuth app authorization flow to allow users to grant the app access to their account. If you haven't already done so,…
  • I'm glad to hear you got this sorted out. Yes, that appears to be a mistake in the first code block there. Apologies for the confusion. I'll ask the team to fix that up. And that's correct, unfortunately we don't have a way to close the browser tab itself. 
  • @"JustinWilson" Thanks for the note. I've added your vote to the request, but unfortunately there doesn't seem to be plans to work on this.
  • For items in the team space you can still use /2/files/get_metadata to get the metadata, such as the `path_lower`. For instance, that may look like: curl -X POST https://api.dropboxapi.com/2/files/get_metadata \ --header "Authorization: Bearer <ACCESS_TOKEN>" \ --header "Dropbox-API-Select-Admin: <ADMIN_ID>" \ --header…
  • Thanks, that's helpful. First, for reference, the "contextual" path is the "fully qualified path relative to event's context". In the first case, the event's context is a 'team_member', so your app has access to the information about the full path in that particular team member's account. In the second case however, the…
  • When uploading file data to the Dropbox API, such as via /2/files/upload, the file data should be supplied in the request body, with a Content-Type of "application/octet-stream"(or the CORS workaround as seen in the output you shared, if needed). The Dropbox API does not support "multipart/form-data" . Exactly what HTTPS…
  • Thanks for the report. Can you use `DbxException.getRequestId` to get the request IDs for a few of these server errors and share the IDs here? That should help us track this down. Thanks in advance!
  • When using `OAuthResponseType.Token`, a redirect URI is required, as a security feature of OAuth 2. It's optional for `OAuthResponseType.Code` though, in which case the user can manually copy/paste the authorization code from the web site into the app. (Using a redirect URI streamlines the process by avoiding the need to…
  • Thanks for following up and clarifying! I'm glad Taylor was able to help. Yes, to reconstruct the folder hiearachy like that, you'll want to split the path on "/". For reference, whenever you're going to display the path to the user, you should use the "path_display" value. Whenever you're using the path to make another…