You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
I am trying to upload a file to a bucket in gcloud and I am getting an error below on uploading a file
File "/opt/conda/lib/python3.6/site-packages/google/resumable_media/requests/upload.py", line 327, in initiate
self._process_initiate_response(result)
File "/opt/conda/lib/python3.6/site-packages/google/resumable_media/_upload.py", line 449, in _process_initiate_response
response, u'location', self._get_headers)
File "/opt/conda/lib/python3.6/site-packages/google/resumable_media/_helpers.py", line 64, in header_required
response, u'Response headers must contain header', name)
google.resumable_media.common.InvalidResponse: ('Response headers must contain header', 'location')
My dependency versions are as follows
google-auth 1.2.1 pypi_0 pypi
google-cloud-core 0.28.1 pypi_0 pypi
google-cloud-storage 1.6.0 py_1 conda-forge
google-resumable-media 0.3.1 pypi_0 pypi
googleapis-common-protos 1.5.9 py_0 conda-forge```
I have my service running in a Kubernetes inside a pod (not sure if that matters).
I am trying to upload a file to a bucket in gcloud and I am getting an error below on uploading a file
My dependency versions are as follows