Comments
-
The error is indicating that you're trying to parse some data as JSON, but the data isn't in a valid JSON format, so the parsing is failing. I don't see anything that mentions Dropbox in the error screenshot, nor do I see anywhere that the stack trace in the error that references the code you posted, so I can't offer much…
-
Are you referring to getting the Dropbox accounts that already configured in the official Dropbox desktop client application? You can find the paths to the local Dropbox folders programmatically as documented here: https://www.dropbox.com/help/desktop-web/locate-dropbox-folder#programmatically That only offers a few pieces…
-
Is that all of the error/output you get? An error code of 0 isn't an HTTP status code, so it sounds like something is failing locally or preventing you from connecting to Dropbox at all. Can you share the steps and code to reproduce the issue?
-
[Cross-linking for reference: https://stackoverflow.com/questions/53669144/dropbox-sdk-redirect-to-localhost-after-successful-authorization ] That 127.0.0.1:... page is a being served by the local web server that you control, for the purpose of receiving the access token. Once you receive the access token from the request…
-
You should be passing in the PathLower value in particular when calling DownloadAsync. (For printing, PathDisplay or Name would be appropriate.) I don't see where you're connecting this to your Download method, but make sure you're using PathLower for the actual download call. Name is only the last path component, not the…
-
A 'path/not_found' error indicates that nothing was found at the path supplied. In this case, that's the 'path' variable in your code. It sounds like you're not providing the correct path value for the files you're attempting to access. I can't say exactly what the correct path is in your case, without knowing the state of…
-
Can you share the code you're using? Downloading a file via the API itself shouldn't result in a 460. Are you referring to downloading from a shared link though? A 460 from a link would indicate that the file is inaccessible because it has been marked restricted, e.g., due to a copyright claim. If you believe a file has…
-
1. That's correct, if nothing has changed, you should not get any repeated results across pages. For reference, make sure you're always processing the returned results exactly as documented for listFolder. 2. These cursors don't have any specific timeout, but they can become invalid in certain scenarios. You'll get a…
-
There's a code example for calling this endpoint using curl in the documentation, and you can also generate some code for calling it using the API v2 Explorer. If something isn't working as expected, please share the code you're using and the unexpected error or output.
-
Good news, this team worked on this, and was able to reduce the link length back to under 500 bytes. You should be able to request the shorter links again now. Please try it and let me know if you're still seeing any issues. Please note, however, that the Dropbox API specification still does not guarantee a maximum length…
-
@"IOT_Developer" The deplyoment is still planned for today. I'll follow up here once that's done.
-
We don't offer a PHP SDK, but you can certainly call the Dropbox API from PHP, and use the result as desired. You can either call the HTTPS endpoints directly from an HTTPS client in PHP, or use a third party library.
-
Unfortunately, there isn't a way to check ahead of time if the folder is too big for the `?dl=1` mechanism.
-
To access file content via the Dropbox API, you should use the /2/files/download endpoint.
-
While the Dropbox API does offer an endpoint for getting thumbnails, that endpoint unfortunately does not support .mp4 files. I'll pass this along as a feature request though.
-
The team has developed a change to reduce the link length, which is tentatively planned for deployment tomorrow. I'll follow up here with an update when that's done.
-
No, this is also not available for paid plans, or via any sort of rollback. For your reference, or for anyone else reading this, it sounds like this is the link length issue you're referring to.
-
The Dropbox JavaScript SDK doesn't offer a way to work around this unfortunately; the download result is only returned once the response is complete. I'll send this along as a feature request, but I can't promise if/when a way to do this would be implemented. That being the case, you may want to look into streaming from…
-
No, it's not possible to reactivate access tokens that have been disabled by unlinking an app.
-
Thanks again for the information! I'll reply here as soon as I have any news on this.
-
No, it's not possible to undo an access token revocation.
-
Thanks for the feedback! I have escalated this, and I will follow up here once I have an update.
-
No, unfortunately there isn't a way to get this information from an access token, but I'll pass this along as a feature request.
-
I heard back from the team, and they confirmed that this is the expected behavior. For team-owned content like this, you can't leave a copy with the removed shared folder member. I've asked them to update the documentation to clarify this.
-
@"ampinwatec" This feature request is open with the team, and I've included your feedback, but I can't promise if/when it will be released.
-
@"flygecko" Thanks for the additional feedback!
-
While there isn't a limit specifically on the number of upload or download calls in Basic accounts, the Dropbox API does have a general rate limiting system that limits how many API calls overall can be made in a given period of time. We don't have any specific numbers documented for that. It is only designed to prevent…
-
No, it is not for team members only. You can use that to share specific files with edit access to team members and non-team members alike.
-
@"ampinwatec" No, I don't have an update on this request I'm afraid.
-
@"IOT_Developer" I have escalated this to engineering. I'll follow up here once I have an update.