Greg-DB Dropbox Community Moderator

Comments

  • I see you posted in multiple threads about this, so I've combined your posts here. The Dropbox API search functionality you posted will search content by default, when available, however note that content search is not available for all Dropbox plans. You can find information on that feature and which plans it is available…
  • 1. Yes, folders that are not shared folders would not have shared_folder_id set. 2. The "Within a single folder, you can create up to 1,500 shared subfolders" limit applies to the number of shared folders underneath any folder.
  • Dropbox doesn't currently offer a way to embed a file request like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • @"shinestar9101987" Здравко is correct, Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still…
  • [Cross-linking for reference: https://stackoverflow.com/questions/75513737/assistance-with-python-script-uploading-images-to-already-created-folders ] @"DeeG2009" As Здравко said, a good way to start troubleshooting this would be to check the actual path value you're using, as that will determine where the file is…
  • I'm not sure I understand your question. Can you clarify? Regarding access token expiration, for reference, Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens.…
  • 1. The file wouldn't necessarily have been removed. It seems like it may be edited. 2. If the file size changed, it sounds like it was edited at some point. You can check the version history of the file. 3. It's unclear what you're showing in the last screenshot. Is that you attempting to view the file on the Dropbox web…
  • @"kenterickson" If the app is in "development" status, you can rename it using the "Branding" tab of the app's page on the App Console. If the app is in "production" status, you'll need to open an API ticket to request the rename.
  • @"sr_c" As Здравко said, you'll need to make sure you're sending a JSON string. It doesn't look like you're doing so in your current code. We do recommend using the official Dropbox JavaScript SDK though, as it will do much of the work for you.
  • @"FrustratedUser3" Thanks for the feedback!
  • @"gnaresh" No, unfortunately Dropbox has not implemented this.
  • @"pkd" I see Здравко helpfully shared a more fully-featured script, but much like what you originally shared, it is possible to upload to Dropbox using the API automatically once you process the authorization flow (which only needs to be done once) with minimal code. The minimal usage to upload/overwrite a file over…
  • @"subyankee" Здравко is correct; normal folders are not by default their own namespaces. Each of the following gets its own namespace: * home/member folder * team space/folder * shared folder * app folder The following guides may also be helpful: * https://developers.dropbox.com/dbx-team-files-guide *…
  • Thanks for following up. Please do let me know if you can reproduce and share information about that issue. I can't provide guidance on configuring third party environments such as GoDaddy though. We don't have specific rate numbers documented for the rate limiting system; apps should be written to handle these rate limit…
  • I'm not aware of any issues that should currently be causing /2/files/get_temporary_link to return an empty string. Can you print out the full raw request and response (including headers and body for both) for a sample of that so we can take a look? Just be sure to redact the access token. Feel free to open an API ticket…
  • If you only need a short-lived access token for your own account, you can use the "Generate" button on the app's page on the App Console. Otherwise, no, it's not possible to bypass the authorization page step of the app authorization flow. This needs to be done manually by the user at least once. If your app needs to…
  • @"786999" It looks like you're referring to some early/private access granted to you in a support ticket. For any help with that, please follow up directly on that support ticket, or open a new ticket with API support here.
  • @"sffatcat" Yes, as long as the app is authorized with the necessary permissions (i.e., full Dropbox access, with the necessary scopes, which would be files.metadata.read for listing files, and files.content.read for downloading files), the app could access anything that the account has access to, including team folders.
  • The mismatched redirect URI error indicates that the redirect_uri you're using on /oauth2/token doesn't match the redirect_uri used to retrieve that authorization code from /oauth2/authorize. Since you're not setting redirect_uri on /oauth2/authorize, you should also omit it when calling /oauth2/token. When performing a…
  • @"sffatcat" As Здравко indicated, access tokens are connected to a specific account/team, not specific existing team folders. Dropbox does not offer the ability to grant an app/access token access to specific existing folder(s) only, but I'll pass this along as a feature request. I can't promise if or when that might be…
  • Yes, those are the limits per the help center article.
  • @"new_to_dreamland" Using a single Dropbox account for all end-users of your app is possible but not officially supported or recommended. I see Здравко gave you some helpful guidance, such as how you can allay some of these concerns by using your own server to mediate access, though it still wouldn't be officially…
  • Thanks for following up with the additional information. So when you refer to the file being "broken", I see you're referring to the Dropbox web site being unable to preview the image. The existence or expiration or a shared link shouldn't corrupt a file. If a shared link is no longer valid, the shared link page would no…
  • App folders shouldn't be tied to specific refresh tokens/access tokens only, nor should subsequent re-authorizations automatically invalidate previous authorizations. I just tried this out myself and I didn't see the behavior you described. If this isn't working as expected for you, please share the exact steps to…
  • @"Rolana" Yes, that seems like it be a reasonable workaround for identifying the member folder in the listing for the connected account. Thanks for sharing!
  • 1. No, the count for this limit is only referring to shared folders, not unshared parent folders. 2. The Dropbox API doesn't offer a way to just retrieve the current count with the Python SDK, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. You can use…
  • Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.
  • Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.
  • 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 steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s) * the full text of any error or unexpected output
  • @"Tomtit" Like Здравко said, I also recommend starting with an unmodified sample app to see that working first, before making changes or implementing your own. Anyway, as they pointed out, your code that you shared here is incorrect because it is passing the authorization URL itself to ProcessCodeFlowAsync. That won't work…