I use the upload_session/append_v2 to upload file , but it return error when i call /upload_session/finish to save file.
I think offset should be the file length? "/upload_session/finish ' response like that
{
"error_summary": "lookup_failed/incorrect_offset/.",
"error": {
".tag": "lookup_failed",
"lookup_failed": {
".tag": "incorrect_offset",
"correct_offset": 86736
}
}
}
The file length is 86601 , 86736 is the content-length in request header. I set the Content-Length: 86601in the body.