Skip to content

uv run hf auth login 400 Bad Request. token pasting issues in nebula terminal? #107

Description

@Qwiso

v0.40.2

nebula terminal open in project directory. pre-reqs installed.

$ HF_DEBUG=1 uv run hf auth login
Enter your token (input will not be visible):
Add token as git credneitial? [y/N]:
Error: (Amz CF ID: ****)

Bad request:
Traceback (most recent call last):
  File "./.venv/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 761, in hf_raise_for_status
    response.raise_for_status()
  File "./.venv/lib/python3.10/site-packages/httpx/_models.py", line 829, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://huggingface.co/api/whoami-v2'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400

command flow works fine outside of nebula

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions