Greg-DB Dropbox Community Moderator

Comments

  • Dropbox OAuth 2 refresh tokens don't expire by themselves, but there are a number of ways they can become invalid. For example: * the user or team admin can revoke all access/refresh tokens for an app by unlinking it on any of the following Dropbox web pages: * the Connected apps page * the Security checkup page * the Team…
  • @"jgray0909" The issue in this thread was regarding an error on the App Console in particular. That specific issue has been fixed. If you're seeing an issue with a different page, please contact support here.
  • @"softwaremedicalshare" The link ban I referred to does apply to the functionality you're trying to use. I recommend contacting support if you have questions about the status of your account.
  • Dropbox does offer an API you can use for listing, uploading, downloading, and sharing files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation and tutorials here. For example, to upload files you can use /2/files/upload, and to create shared links you can…
  • The Dropbox API uses a few different auth types, as you linked to, but each particular endpoint only supports a particular set of auth types. You can see which auth type(s) any particular endpoint supports in the documentation for that endpoint, under the "AUTHENTICATION" section. For example, for /2/file_requests/list_v2,…
  • @"someoneknew" Thanks for the additional information. This screenshot doesn't seem to show the actual response body from the Dropbox API though. The "400" is just the status code of the response from the Dropbox API, but the response would also contain a body, which isn't being shown here. You may need to check the…
  • @"softwaremedicalshare" It looks like our comments just crossed. Be sure to check out my message here.
  • @"softwaremedicalshare" It sounds like your links may currently be banned on your account. That would cause this error. (This doesn't sound like a scopes issue; that would be a different error message.) You can find more information on link bans here: https://help.dropbox.com/files-folders/share/banned-links 
  • Thanks for following up and confirming the size varies. Also, just to clarify your last message, where you mentioned it failed after exactly 15 minutes, does it always fails after exactly 15 minutes (or did you mean just this last attempt in particular)? And you mentioned there was no error, but does it get to your…
  • No, the two work a bit differently so their options and functionality don't map exactly to one another, so there isn't really a way to make them behave exactly the same way.
  • @"Здравко" Thanks for clarifying! The Dropbox API doesn't offer anything exactly like that, but we'll consider it a feature request.
  • Does the actual downloaded size vary, or is it the same each time? If it's the same, please let me know what it is for reference. Also, how long does the (incomplete) download take? I believe a single connection is only valid for 90 minutes, so that could be the cause if it takes that long. (Though the HTTPS client is…
  • @"flygecko" The Dropbox API servers now accept, but do not require, SNI from the client, so I don't have a good way to recommend for testing this. It generally should be done automatically by the client though. Please refer to your platform's documentation for information on how you might update your client to use SNI. 
  • Thanks for the additional feedback! @"Здравко" For information on detecting changes I recommend reading the Detecting Changes Guide, if you haven't already. Also, for reference, Dropbox does enforce an automatic system of short-term locking that prevents simultaneous changes. You can find more information on that under the…
  • @"flygecko" The team is planning on keeping the current SNI-optional configuration. We do recommend modernizing your client/libraries though, e.g., to support SNI, and the latest transport security protocols, etc.
  • Yes, the withPathRoot method is the right way to access different roots. I just tried it and it is working for me. Can you clarify what you mean when you say you tried many ways to keep the client variable? What did you use exactly? In my own testing I am able to reproduce the "-999" error you're getting when I only define…
  • The Dropbox API servers should no longer be requiring SNI. Please try again and let me know if you're still seeing any issues. Thanks!
  • I can't think of any reason you'd be seeing more calls to /2/files/search without actually calling filesSearch. For reference, here's a link to the code from v2.5.12 of the SDK, and the only reference to files/search is in the filesSearch definition. Could you perhaps share the relevant code you mention here: "the function…
  • Thanks for confirming that. Yes, the Dropbox API servers do now require SNI. I'm raising this with the team. I'll follow up here once I have an update on that.
  • I see, thanks for the information. Do you know if your HTTPS client does or doesn't support SNI? HTTPS clients should handle that automatically, but if this one doesn't, that might be the cause here. 
  • 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 token(s)…
  • It sounds like you're trying to use the Dropbox API v2 JavaScript SDK. That comes with a number of examples that you can try here. There are also instructions on that page for running the examples. Did you follow those instructions? Which example are you trying in particular? Also, can you elaborate on what you mean when…
  • This appears to be a duplicate of this thread, so I'll close this one and follow up with you there.
  • Can you elaborate on what you mean when you say you "are seeing calls to that endpoint that are coming from places other than the filesSearch method"? Can you share what you're seeing specifically in that regard? None of the other methods in the SDK should be calling that endpoint. For instance, filesListFolder just calls…
  • Was the old employee a member of a Dropbox Business team? If so, I recommend having a team admin from the Business team opening a ticket with Dropbox developer support ticket here (while signed in to their admin account) if you haven't already done so. If they're an admin on the team with the (disabled) app owner, they…
  • This appears to be the same sort of error you were getting earlier, which I commented on in this reply. That is, it sounds like your clientWithPathRoot variable is getting removed before the call can complete. You'll need to make sure you keep that defined for the lifetime of the call.
  • I don't have an update on this quite yet, but I'll follow up here once I do.
  • I see, thanks! That's helpful. I see in this sample project that you're requesting a team scope "team_info.read", and it sounds like you have the official Dropbox iOS app installed. When you have the official Dropbox mobile app installed, it will handle the app authorization flow (since the user is likely already signed in…
  • 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 token(s)…
  • @"Mangoz" No, localhost URLs are not Internet-accessible, so they cannot be used with the Dropbox Saver.