Greg-DB Dropbox Community Moderator

Comments

  • A 'lookup_failed/incorrect_offset' error like this indicates that the "offset" parameter value you supplied for the upload session in the API call does not match what the server currently expects for that upload session. The "offset" value is the amount of data (in bytes) that has been uploaded so far for that upload…
  • Yes, it is possible to connect an app to a team itself, instead of just a specific account, by requesting any "team" scopes. You can find more information in the team endpoints documentation here. That can be used to access files/folders like an individually-connected app can, without the files/folders needing to be moved…
  • I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: * the name and version number of the platform and SDK/library you are using, if any * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or…
  • First, note that there are currently two different Paper configurations that an account may be using, which will affect how you use the API to interact with Paper docs. You can find information on this in the Paper Migration Guide. For legacy Paper docs, you would use the /2/paper/docs/list and /2/paper/docs/list/continue…
  • @"bspindia" As Здравко mentioned, you need to set the file extension (and name) when uploading to Dropbox via the API. For example, when uploading using the /2/files/upload endpoint, you should set the full path, including file name and extension, of where you want to upload the file in the "path" parameter. In the output…
  • Dropbox does offer an API that can be used to integrate with Dropbox. If you're a programmer, or are working with one, that would enable you to list, upload, and download files to/from Dropbox, among other operations You can find everything you need to get started with the Dropbox API, including documentation, tutorials,…
  • @"bspindia" Здравко is correct; you can use a refresh token to get new short-lived access tokens when needed without having the user manually re-authorize the app each time. Please refer to the resources linked earlier in this thread for more information on that.
  • Thanks for writing in, and for the feedback. I understand you're interested in making a photo gallery on your web site. Dropbox does offer the Dropbox Embedder which can display a folder of photos via a shared link to the folder, but it doesn't offer custom branding. I'll pass that along as a feature request, but I can't…
  • The Dropbox Saver unfortunately does not officially support data/blob/object URIs like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
    in saver Comment by Greg-DB December 2022
  • The choice of trust store to use with your client is up to you, but to be able to successfully verify and connect to the Dropbox API servers you'll need to trust the root CA(s) used by the Dropbox servers. I can't provide any guarantee on if/when Dropbox will change its certificates.
  • No, there isn't a way to fully automate the Dropbox Saver, but if you want to perform save operations like that programmatically, you can use the /2/files/save_url API endpoint instead. That's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those…
    in saver Comment by Greg-DB December 2022
  • @"projectdeliverypartners" As Здравко noted, unfortunately Dropbox does not offer an API or way to programmatically manage the official Dropbox desktop client, such as to pause or resume syncing, except that the Dropbox desktop client on Linux only does support some command line commands. I'll pass this along as a feature…
  • @"bspindia" Здравко is correct; /oauth2/authorize is a web page, not an API call. It's where you should send the user, in their web browser, to authorize your app.
  • I'm not quite sure I understand your latest question. Can you clarify? Thanks.
  • @"vas1992" Здравко is correct; here's what a simple usage of this may look like: allocation = dbx.users_get_space_usage().allocationif allocation.is_individual(): print("Individual allocation:") print(allocation.get_individual().allocated)elif allocation.is_team(): print("Team allocation:")…
  • You can find information regarding GDPR on Dropbox here. I don't have any plans or changes to share regarding the API in particular.
  • @"bspindia" Здравко is correct; your request is not formatted properly. You should use "Basic" authorization for that particular call, not "Bearer". Also, make sure you supply the necessary parameters as shown in the documentation. Check out step 5 in section 2 of this blog post for an example to translate.
  • @"sundar_papco" I've updated the links in my post. Thanks!
  • @"MightyModest" As Здравко noted, if you're using an official Dropbox SDK, you don't need to implement the refresh process yourself. The SDK will do that for you automatically as long as you provide the necessary credentials. For reference, in the PKCE example Здравко linked to, only the refresh token and app key is…
  • @"DylanC" As Здравко said, take note of what root you're using and make sure you're working in the same location for each user. Also, note that apps with the "app folder" access type get an app folder in each user's connected account, and these app folders do not sync with each other. If you have multiple connected users…
  • @"bspindia" Apps can get long-term access by requesting "offline" access, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. You can find more information in the OAuth Guide and authorization documentation. I don't…
  • The certificates on the Dropbox servers are updated as needed. I don't have a specific history/schedule to share on exactly when that did/will occur. Dropbox works to ensure that the servers are always served with valid certificates, but we don't guarantee we'll always being using a specific root, so we recommend making…
  • @"valosekj" No, I don't have an update on this.
  • @"Joachim_H" While this isn't available/configurable via the Dropbox API as originally requested in this thread, the Dropbox product does offer a retention policy feature that may be helpful.
  • @"jbrede" As Здравко mentioned, unfortunately the Dropbox API doesn't offer the ability to create .gsheet docs like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • I understand you're calling the getTemporaryLink​ method in the Java SDK and are receiving the not_allowed error. That error means: The user is not allowed to request a temporary link to the specified file. For example, this can occur if the file is restricted or if the user's links are banned You may want to check your…
  • It sounds like you're referring to an app with "app folder" access (as opposed to "full Dropbox"). You can move an app folder in your account, but unfortunately currently app folders are incompatible with shared/team folders, meaning you can't share an app folder, put a shared/team folder inside an app folder or put an app…
  • @"Andres Garrido" This issue is still open with the team, but I don't have any news to report yet. I'll follow up here once I have an update on it.
  • Dropbox unfortunately does not offer a way to directly get a link to a folder from an ID like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. There are some things that may work depending on the scenario though: * If the folder itself happens to be a shared…
  • @"PAST-E" That's correct. No action is required on your part.