RuntimeError "The OAuth client was deleted"
See original GitHub issueI am trying to use gcsfs on a new system. I am invoking it as follows
import gcsfs
fs = gcsfs.GCSFileSystem(project='pangeo-181919', token=None)
I get the following error, which I really don’t understand or know how to recover from. Any advice would be appreciated. This is on a remote server where I have no gloud
utilities installed. The python version is 3.5…don’t know if that matters.
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-1-90388e4b9890> in <module>()
1 import gcsfs
----> 2 fs = gcsfs.GCSFileSystem(project='pangeo-181919', token=None)
/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in __init__(self, project, access, token, block_size)
162 self.access = access
163 self.dirs = {}
--> 164 self.connect()
165 self._singleton[0] = self
166
/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in connect(self, refresh)
229 params={'client_id': not_secret['client_id'],
230 'scope': scope})
--> 231 validate_response(r, path)
232 data = json.loads(r.content.decode())
233 print('Enter the following code when prompted in the browser:')
/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in validate_response(r, path)
108 raise ValueError("Bad Request: %s\n%s" % (path, msg))
109 else:
--> 110 raise RuntimeError(m)
111
112
RuntimeError: b'{\n "error" : "deleted_client",\n "error_description" : "The OAuth client was deleted."\n}'
Issue Analytics
- State:
- Created 6 years ago
- Comments:32 (32 by maintainers)
Top Results From Across the Web
Does "The OAuth client was deleted" from Google mean the ...
As per the API definition, if the response has the field "lifecycleState":"DELETE_REQUESTED" , it means that the project is pending deletion but ...
Read more >RuntimeError "The OAuth client was deleted" #46 - GitHub
For the original error, this sounds like the time previously that google deleted the API; but checking in the console, it is still...
Read more >'deleted_client: The OAuth client was deleted.', {'error'
Hi,. In my understanding when this error appears it means that maybe the credentials (tokens) used are the ones deleted and to be...
Read more >Flask OAuth Client — Authlib 0.12 documentation
Flask OAuth client can handle OAuth 1 and OAuth 2 services. It shares a similar API with Flask-OAuthlib, you can transfer your code...
Read more >Error messages - Resource Manager - Google Cloud
The OAuth token was received in the query string, which this API forbids for response formats other than JSON or XML. If possible,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How convenient? In my terminal I just click on the link and a browser opens. I suppose that this may depend on terminal choice though.
Docs are now correct, so I’ll close.