Skip to content

Fix: 400 Client Error#16

Open
not-lain wants to merge 4 commits into
nateraw:mainfrom
not-lain:fix
Open

Fix: 400 Client Error#16
not-lain wants to merge 4 commits into
nateraw:mainfrom
not-lain:fix

Conversation

@not-lain

@not-lain not-lain commented Feb 2, 2026

Copy link
Copy Markdown

@nateraw

recently this workflow started showing: https://github.com/not-lain/textify/actions/runs/21590398292/job/62208808983 (cropped traceback below)

Traceback (most recent call last):
  File "/home/runner/.local/lib/python3.12/site-packages/huggingface_hub/utils/_errors.py", line 264, in hf_raise_for_status
    response.raise_for_status()
  File "/usr/lib/python3/dist-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://huggingface.co/api/repos/create

after some digging i would assume they have updated the api side of HF and nothing can be done from the library side, this pr comes to fix this.


for the sake of easier review i did manage to hardcode some aspects of the workflow and i managed to ran it (different branch not the one from this pr) which you can see the results in https://github.com/not-lain/textify/actions/runs/21592005638/job/62216858631

@nateraw

nateraw commented Feb 3, 2026

Copy link
Copy Markdown
Owner

I will review hopefully tomorrow. thank you!!!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants