fsspec / fsspec/gcsfs

Using browser authorization url but shows "401 Error: deleted_client"

Open
#511 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
398
Forks
181
Avg merge
2d 10h
Merged PRs (30d)
36

Description

I tried to use browser authorization but kept getting the 401.
Screenshot 2022-11-28 at 16 44 03

from gcsfs import GCSFileSystem
fs = GCSFileSystem(token="browser")

system or package info:

  • macOS: 13.0.1
  • Python: 3.8.13
  • fsspec: 2022.10.0, 2022.3.0, 2022.2.0
  • gcsfs: 2022.10.0, 2022.3.0, 2022.2.0

I've tried several gcsfs version but still get 401.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the GCSFileSystem(token="browser") entry point and reproduce the 401 deleted_client response using the Python, fsspec, and gcsfs versions listed. Trace the browser authorization flow and compare its behavior across those versions; done means identifying the cause and confirming a working authorization flow or documenting the incompatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, python
Domain
authentication, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.