Comments
-
Thanks for the detailed log and code sample. I've filed a bug with our engineers. I'll let you know as soon as I hear something.
-
Hi Manish, Happy to help. Would you mind submitting a ticket so we can discuss more specific info?
-
Hi Glenn, Is there a specific reason that your application needs to reconnect with the Dropbox app every time the script runs? Generally speaking, most integrations would use a stored Access Token in order to run their script and automate the collection of data. OAuth Flows are really only necessary when you need users to…
-
Hi, Is the 3rd party API you're calling expecting a file or a URL to an image? I'd expect it to need the entire file, in which case you'll need to download (files/download) the file onto your server and upload the file to the other API for processing.
-
Thanks for the detailed info and logs, Stefan. I added it to the discussion with engineering. I would interpret the docs in a similar way for this endpoint. I'll let you know when I get new information. Thanks again for the detail and concise explanations.
-
Are you using a third party integration or your own, custom application? I can only offer support for applications you're directly building with the Dropbox API. If you're writing the code, I still need more information to offer any advice. * What programming language are you using? * What endpoints are you calling? Seeing…
-
Stefan, is this behavior having an impact on your production application, too? I don't have full context of the decision, but learned that this is a change in the default behavior of the endpoint. In the 'Parameters' section of the file /search endpoint docs: query String The string to search for. The search string is…
-
Hi Stefan! Apologies for the delay. I was able to repro the issue and have filed a bug with engineering. I'll keep you in the loop when I hear back. Thank you for letting us know!
-
We need more information to offer any meaningful suggestions. Can you provide more detail about your integration? Code samples are helpful, too.
-
Hi Glenn, You can't return an access token without some element of human approval. Almost all OAuth Flow implementations require that a user gives consent to share their data with your application.
-
Hi! Thanks for the detail. I'm looking into it. Can you confirm whether the tests were running correctly in the past? Did they start failing without any changes being made to the code?
-
The specific /2/auth/token/from_oauth1 endpoint you're using is only be for migrating legacy OAuth 1 access tokens to OAuth 2. If you're just building your app now, you wouldn't have any OAuth 1 access tokens so you wouldn't need to use that endpoint. The full documentation for the Dropbox OAuth endpoints can be found…
-
Based on your question, it looks like you've already read it, but the Namespace Guide is a worthwhile resource on this topic. There's a method in the Java SDK that can help with this called withPathRoot.
-
The 429 error that you are getting is due to lock contention. Basically, Promise.all() triggers all requests at the same time and waits for them to resolve before continuing. In this case, all the simultaneous requests are causing lock contention. There are two possible solutions: 1. Execute your requests serially. This…
-
Hello @"tatjana123", If you're running into that error and don't think you should be, I recommend opening a ticket with support.
-
Something to keep in mind in this scenario is that the current Dropbox webhook implementation listens for all changes to files and can't be set to listen on a single folder. Do you have any code you've written (or can write) somewhere in your current flow?
-
Hi Marco! Good news! It looks like a fix was implemented. Could you take a look and see whether you're still getting the error?
-
The Dropbox API does have an endpoint that will save files from a URL. In the JavaScript SDK, you want the filesSaveUrl() method, which accepts two parameters: a link to the file you want to save and a path for where you want the file saved in Dropbox. I have some other comments regarding your code. No offense intended. My…
-
Hi, Marco. Unfortunately, I don't have an update for you at this time. It's been reported and is being looked at, but I don't have a timeline for a fix. As a workaround, please keep using the retry logic that you mentioned in your initial post.
-
You're on the right track. Once you have the file's id, you can pass that to the filesGetTemporaryLink() method in the JavaScript SDK. You'll need to generate a new download link for each file individually.
-
Thanks for the helpful report, Marco. Sorry your integration stopped working fully. I filed a bug with engineering and will update you when I hear back from them.
-
Could you please clarify your question a bit? If possible, could you give me an example of what you're currently getting back as well as an example of what you're trying to do (what you want the data to look like)?
-
The error that you're seeing is the result of calling the 'list_folder_members' on a folder object rather than a file. The relevant endpoints for this use case are list_folder_members to determine the owner of a specific folder and transfer_folder to actually transfer the folder to a new owner. Please feel free to reach…
-
Thanks for the suggestion! I've submitted this as a feature request.
-
Our apologies if the terminology is confusing. We actually have two ways of versioning our API. One is the overall API version. The second (and the one you mention in your post) refers to the endpoint itself and has its own versioning. In other words, you're using v2 of the overall API, but v1 of the download_zip endpoint.
-
Hi! Happy to help. A couple clarifying questions: - Could you clarify what you mean by 'respecting folder heirarchy'? - What is the final way you want your files displayed? In general, your #1 solution is the better way to go. I reccommend continuing to iterate on that solution. A response from a successful list_folder…
-
No maintenance currently going on. Could you please share the relevant code that is producing the errors and we can try to help solve the issue with you?