You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

buttflattery's avatar
buttflattery
Explorer | Level 4
6 years ago

Invalid Async jobid

i am working on uploading multiple files to dropbox in chunks using javascript SDK methods "filesUploadSessionStart" and "filesUploadSessionAppendV2" and i use "filesUploadSessionFinishBatch" after uploading all files, which return me a job id like "dbjid:AABlCnjCjyN1hlWjt7yTgcS9jD95DnYMug9_tSpn66X0fsVN3vXV4I6ZTHshl2vjFMOdOAGH9Q8wd6ofr9_6kFKE".

All works fine and all the files are uploaded correctly on dropbox the only problem i am having is that when i check this job id via API console using the endpoint "upload_session/finish_batch/check" it always returns the response 

{
  "error_summary": "invalid_async_job_id/...",
  "error": {
    ".tag": "invalid_async_job_id"
  }
}

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The format of the job ID you shared here looks correct, so we'll need to look into this further. To help track this issue down, can you let me know:

    • how long after receiving that job ID did you make the call to upload_session/finish_batch/check that fails with "invalid_async_job_id"?
    • can you double check that you're making the call to upload_session/finish_batch/check with an access token for the same app and user as the one you made to upload_session/finish_batch to start the job?
    • buttflattery's avatar
      buttflattery
      Explorer | Level 4

      It was my mistake i was trying to trigger the job from my code and then trying to use the API console to check for the job_id which for some reason does not work 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 2 days ago
333 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!