We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 7.1.0 Javascript WordPress Plugin Environment.
Im using the example from t he javascript index.html and I always get the same error when trying to upload the file in chunks.
Error in call to API function "files/upload_session/append:2": HTTP header "Dropbox-API-Arg": cursor: missing required field 'session_id'
I can see the session ID coming back from Dropbox ok but it doesn't seem to be making it to the function for the next upload.
The text was updated successfully, but these errors were encountered:
[Cross-linking for reference: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Javascript-SDK-Upload-sessions-returns-an-error/td-p/461001 ]
Apologies for the trouble. This is a result of the "Updating the Response object" change documented here.
This line should instead be: .then(response => response.result.session_id)
.then(response => response.result.session_id)
Please give that a try and let me know if you still see any issues. I'll ask the team to update the sample code.
Sorry, something went wrong.
Brilliant this has resolved the issue.
@greg-db Will the example get updated?
@hornta The task to update the sample code is still open with the team, but I don't have a timeline on that.
No branches or pull requests
Version 7.1.0
Javascript
WordPress Plugin Environment.
Im using the example from t he javascript index.html and I always get the same error when trying to upload the file in chunks.
Error in call to API function "files/upload_session/append:2": HTTP header "Dropbox-API-Arg": cursor: missing required field 'session_id'I can see the session ID coming back from Dropbox ok but it doesn't seem to be making it to the function for the next upload.
The text was updated successfully, but these errors were encountered: