-
Notifications
You must be signed in to change notification settings - Fork 330
Description
After updating our dependencies, we noticed that something has changed between v3.4.0 and v3.5.0 that I can't quite explain. One of our integration tests for replacing an existing file fails with an unexpected HTTP 400 response and the following content:
Can not finalize upload. Current size is 19. Expected final size is 13.
I've tried to analyze the diff between v3.4.0 and v3.5.0, but couldn't find anything that made sense to me. I believe bfe8cd0 is the most relevant commit, but I'm having trouble understanding the changes and how this is relevant to our error.
In a nutshell, we're using GTLRDriveQuery_FilesUpdate.query()
to build our query for replacing an existing file and then using driveService.executeQuery()
to execute it.
Any ideas what I should be looking for? I'm just a bit puzzled by this because I'm getting a "Bad Request" error from the server just by updating the dependency, which tells me that the client doesn't send the same request as before the update. (So yes, v3.4.0 still works fine in our case.)