Comments
-
[Cross-linking for reference: https://stackoverflow.com/questions/64178976/cant-get-access-token-in-dropbox-uses-javascript-fetch-request ] It looks like there's a few issues with how you're formatting your request. For instance, it looks like you're not using the right encoding, and you're not properly labeling your…
-
I see you also sent this in to support, so I'm copying the answer that we sent you there here in case anyone else has the same question: The <A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#fileRequestsCreate__anchor" rel="noreferrer nofollow noopener" target="_blank">fileRequestsCreate</A> method takes a <A…
-
@"arpit2011" Any kind of Dropbox account can own and configure a production app, such as to enable use of the Chooser and OAuth flow, so if you don't need the extra features of an upgraded account, such as the extra storage, a free account would be sufficient.
-
Thanks! We'll look into it and follow up with you there.
-
I just wanted to follow up on this to let you know that we've released "scopes" functionality on the Dropbox API, which you can use to configure an app or access token to only a limited set of functionality, such as the ability to read but not write files. You can find more information about the release in our blog post…
-
I just wanted to follow up on this to let you know that we've released "scopes" functionality on the Dropbox API, which you can use to configure an app or access token to only a limited set of functionality, such as the ability to read but not write files. You can find more information about the release in our blog post…
-
I just wanted to follow up on this to let you know that we've released "scopes" functionality on the Dropbox API, which you can use to configure an app or access token to only a limited set of functionality, such as the ability to read but not write files. You can find more information about the release in our blog post…
-
Thanks for the information. It's unclear from this what the issue is then. Could you open an API ticket so we can take a closer look? Please include the full responses that you're getting, without any processing. That is, show what you're getting back in all of the ListFolderResult objects from all of the calls…
-
@"yadavt" No, unfortunately I don't have an update on this request yet.
-
The 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens.…
-
Note that you should always implement listFolderContinue in addition to listFolder to be sure you get the full listing.
-
Since there isn't documentation on that behavior of the events list specifically, I can't offer a guarantee. (I wouldn't want to make a promise and lead you astray if it might change in the future!) I recommend using the cursor as documented to make sure you don't miss events.
-
Thanks for confirming! This was an issue with the search backend that the engineering team worked to resolve. This wasn't related to the scopes migration.
-
Listing a folder (such as root) can take an arbitrary number of calls, so make sure you're aggregating the results from all of the calls. It's not entirely clear where/when are you actually collecting these result sets. It seems like some of the relevant code may be missing here, but looking at the code you shared, it…
-
Great, I'm glad that helps. To further clarify a few things though: "I only want the files for that day. If I don't update the cursor, won't that give me all files since the cursor? So that would give me all of the files going back possibly multiple days." One option is to always update your stored cursor to be the latest…
-
Thanks for the detailed writeup! First, I should note that the 'dropbox-v2-api' package isn't made by Dropbox itself, so I can't really offer support for that or say what it may actually be doing under the hood, but I'll take a look here and advise with respect to the Dropbox API. Anyway, looking over your code and…
-
Yes, if you're interested in a potential partnership with Dropbox, you can find more information and a contact form here: https://www.dropbox.com/business/technology-partners
-
That's a custom integration that Dropbox has with Slack, and not something that one can plug in to generally unfortunately. Apologies I don't have better news for you!
-
No, unfortunately the Extensions functionality only supports individual files, not folders, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Can you also print out the response body? It should contain a more useful error message.
-
This should be resolved now. Please let us know if you're still seeing any issues. Thanks!
-
Thanks for the additional context!
-
Can you elaborate on what exactly is missing? For example, if you're looking for nested entries, you need to set the recursive mode using ListFolderBuilder.withRecursive.
-
If pathLower is nil, that means that the folder is not "mounted", so it doesn't have a path in that account. I recommend reading the File Access Guide and the Team Files Guide for more information on how these mechanisms work. For reference, if you need to set the "Dropbox-API-Path-Root" header mentioned there, that's…
-
@"arpit2011" I see that Здравко has already helpfully answered your questions. To confirm, a shared link is not a path, which is why you got that first error. A path would look like "/folder/file.ext". You can use the ID instead as you attempted, but the /2/files/download endpoint will return that 'path/not_found' error if…
-
You should be able to get a PathRootError with more error information via PathRootErrorException.getPathRootError. Can you try implementing that in your error handling to get some more information on the issue?
-
You should use DBFILESUserAuthRoutes.listFolder/DBFILESUserAuthRoutes.listFolderContinue to list the contents of any particular folder (shared or not), by specifying the relevant path. For example, when using DBSHARINGUserAuthRoutes.listFolders/DBSHARINGUserAuthRoutes.listFoldersContinue, you can get the path from the…
-
There isn't any other guidance or guarantee on the sort order that I can offer beyond what's in the documentation. Rather than relying on timestamps though, we recommend using the latest returned 'cursor' value for a successfully processed batch of events when calling back to /2/team_log/get_events/continue as shown in the…
-
To clarify, you as the developer, as well all versions of your app, don't need to know the name of the app folder in any particular account, nor will changing the "App folder name" setting interfere with your app's API calls for new or existing users. You don't need to do anything special in your app's code to handle this.…
-
The name 'TaskListFolderAndAccountId' does not seem to be part of the Dropbox API or Dropbox Java SDK itself. Is that a method name from your own code? In any case, can you share the code you're using to call the API to list the files and folders you're referring to? It sounds like you're probably referring to…