Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Hevak's avatar
Hevak
New member | Level 1
9 years ago

upload_session/finish_batch

In the V2 API there is a phrase:

The session must be closed before calling upload_session/finish_batch.

What is finish_batch?

Henk

3 Replies

Replies have been turned off for this discussion
  • Richard P.'s avatar
    Richard P.
    Icon for Super User alumni rankSuper User alumni
    9 years ago

    Almost certainly an internal command that is currently undocumented - you shouldn't use it unless its documented somewhere public.

  • Hevak's avatar
    Hevak
    New member | Level 1
    9 years ago

    I am successfully using upload_append, but I haven't noticed this remark earlier. I was looking at updating my api to the use of ulpoad_append_v2 instead of upload_append, but now there seems to be this remark that the session should be closed before 'finish_batch'. 

    I now use just /finish without closing first and that works, but has there been a change?

    Henk

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    Hi Hevak, upload_session/finish_batch will be a new endpoint, but it isn't released yet. It's referenced in the documentation for a shared error type as you saw, but you don't need to worry about using it. The existing endpoints will continue to work as expected.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!