-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
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
Started getting random ValueError: Bad response: not multi-part exceptions #404
Comments
we hacked a more informative debug statement into the cloud-storage library in production and got this error.
|
This was not happening a month ago, and the error returned could be much more informative. Seems like the server is enforcing limits it wasn't in the recent past nor is the library helping the user understand the source of the problem. |
Thanks for the details @fcollman. We've seen this intermittent 413 error pop up recently in another case. I'm checking in with the internal API team to see if theres a service change that could be causing this and will get back to you as soon as I have something. |
Sorry for the late response. No changes from the API side that should cause this. @fcollman can you confirm that 1) you're still intermittently running into this error, and 2) your batch request content size is not greater than the max 10mb |
I started to move down the path that this isn't a bug. However, the |
ah.. sorry.. we did track down a root cause, which was an expired service account credential, though it wasn't clear from the error that this was the case, and it wasn't clear why it was so unreliable in its nature. Perhaps something to do caching of such things across GCS. |
when we fix the service account credentials the error goes away.. I'd still argue that JWT signature error or this valueerror isn't the most clear advertisement of what the underlying issue is. |
Agreed, I've opened a tracking issue and will submit a fix shortly. Thanks for bringing this to our attention! |
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
google-cloud-storage
version: 1.37.0Steps to reproduce
Code example
I don't have a concise code example. But it's being triggered with
get_blob(key).
Stack trace
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: