Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Currently when I post a file url to the 'https://api.dropboxapi.com/2/files/save_url' endpoint as described in the docs, and then check using the 'https://api.dropboxapi.com/2/files/save_url/check_job_status' when the second endpoint returns a status of:
{
".tag": "complete",
"name": "test (2).png",
"path_lower": "/aia ats hubspot/(hubspot)/test (2).png",
"path_display": "/AIA ATS HubSpot/(HubSpot)/test (2).png",
etc..
}
That response should indicate that the file was saved successfully, so make sure you're looking in the right location when verifying that manually, e.g., on the Dropbox web site.
For instance, check that you're signed in to the same account that you're connected to on the API (or at least, an account with the relevant shared folder if you're uploading to a shared folder).
Also, if the account is on a team with the "team space" configuration, note that by default these API calls operate in the "member folder" of the connected account, not the team space, so make sure you're looking inside the member folder (i.e., the folder with the member's name) and not the team space itself. (You can configure API calls to operate in the team space instead though. To do so, you'll need to set the "Dropbox-API-Path-Root" header. You can find information on this in the Team Files Guide.)
That response should indicate that the file was saved successfully, so make sure you're looking in the right location when verifying that manually, e.g., on the Dropbox web site.
For instance, check that you're signed in to the same account that you're connected to on the API (or at least, an account with the relevant shared folder if you're uploading to a shared folder).
Also, if the account is on a team with the "team space" configuration, note that by default these API calls operate in the "member folder" of the connected account, not the team space, so make sure you're looking inside the member folder (i.e., the folder with the member's name) and not the team space itself. (You can configure API calls to operate in the team space instead though. To do so, you'll need to set the "Dropbox-API-Path-Root" header. You can find information on this in the Team Files Guide.)
Ah, that was indeed my issue Greg. That header has solved my confusion.
I was adding the path to the end of a teams folder url, and that was why it did not exist as you suspected.
Thank you for getting me straightened out!
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
Sound good? Let's get started.Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!