-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
adding extra_header causing issue while reading GCS file in colab #30416
Comments
It was also happening to me, any ideas on how to fix it? |
As a workaround, you can install and use version 2.53.0 of Apache Beam. pip install apache-beam==2.53.0 |
@ajitsonawane1 - Google recommendation :We'd recommend that you install v2.16.0 (the latest version) of the google-cloud-storage to resolve this issue. It worked for me |
This worked for me too. Thanks! I had been stuck on this for a while :) |
@ajitsonawane1 and @minhajpasha- I see same issue while using apache-beam==2.60.0/2.61.1 and google-cloud-storage==2.16.0. Could you please let me know how can I fix this issue. |
beam/sdks/python/apache_beam/io/gcp/gcsio.py
Line 116 in fb3f669
With the latest code changes in version 2.54.0 (introducing extra_headers), we started receiving an error while reading a file from gcs using the following code.
Just wanted to report that and wanted to know if this
extra_headers
field can be removed.Code : <following apache-beam python code, we used to read GCS files>
Encountered Error:
The text was updated successfully, but these errors were encountered: