Comments (4)
What did you do to get the error, above?
I believe this is happening directly within gcsfs - GCS needs to authenticate using a specific user rather than a service. I don't know if using service account credentials directly is possible or what change would need to be made.
from gcsfs.
File "xx\core.py", line 217, in connect token = self._parse_gtoken(token)
File "xx\core.py", line 188, in _parse_gtoken % typ)
ValueError: Only 'authorized_user' tokens accepted, got: service_account
No worries, I just created a user token and works fine.
from gcsfs.
I let you close if you feel this doesn't justify for an enhancement. I have no use case to work with service-account only.
from gcsfs.
I will close rather because I don't know how to use those tokens :)
from gcsfs.
Related Issues (20)
- Using browser authorization url but shows "401 Error: deleted_client" HOT 5
- cat_file with start and end of gzipped file does not work. HOT 9
- put() has inconsistent results if you run from Python Console vs in a file. HOT 3
- Unclosed client session HOT 6
- 2023.1.0 regression: `fs.ls(..., versions=True)` raises when subdirectories exist
- ResourceWarning: Sending a large body directly with raw bytes might lock the event loop. HOT 13
- Modified gives incorrect results HOT 1
- `glob` of an ancestor dir causes `ls` to return multiple identical entries
- trigger a warning when trying to append to a file on google cloud storage HOT 4
- download() raises FileNotFoundError while I can use open() with no issue
- Tag and Github release for 2023.3.0 missing HOT 2
- Any plans to release a new version based on `fsspec==2023.4.0`
- Random `ValueError: I/O operation on closed file` from `aiohttp`. HOT 9
- Not working async, typo in docs HOT 7
- _put_file does not allow to specify content encoding HOT 4
- __init__() got multiple values for keyword argument 'listings_expiry_time' HOT 1
- Is there already a way to list metadata attributes? HOT 2
- gcsfs: Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object HOT 3
- Inconsistent `STORAGE_EMULATOR_HOST` format HOT 2
- GCSFileSystem does not accept token, file.json or instance of service credentials HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcsfs.