Comfy-Org / Comfy-Org/ComfyUI

Please help. Invalid credentials in Authorization header using custom node

Open
#9,415 4 comments 0 reactions 0 assignees View on GitHub
bug-cop:response-received Custom Nodes Bug Stale User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Your question

Invalid credentials in Authorization header

### Logs

```powershell
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\hf_api.py", line 2853, in repo_info
return method(
^^^^^^^
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\hf_api.py", line 2638, in model_info
hf_raise_for_status(r)
File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\utils\_http.py", line 482, in hf_raise_for_status
raise _format(HfHubHTTPError, str(e), response) from e
huggingface_hub.errors.HfHubHTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-dev/revision/main (Request ID: Root=1-68a3ff5e-10e4d1e1466c791270052ddc;1ac8f963-5a40-48f5-bd11-27610b8ffdd9)

Invalid credentials in Authorization header
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.