cd /news/developer-tools/error-login-hf-create-token-error · home topics developer-tools article
[ARTICLE · art-31010] src=discuss.huggingface.co ↗ pub= topic=developer-tools verified=true sentiment=↓ negative

Error Login HF. Create Token error?

Hugging Face user Vitinello reported a login error on the Hugging Face Forums on June 17, 2026, where the `huggingface_hub` token authentication failed with a 'Bad request' error and an Amazon CloudFront ID. The user was unable to log in despite following the token generation instructions.

read1 min views1 publishedJun 17, 2026

Hugging Face Forums Error Login HF. Create Token error? Beginners Vitinello June 17, 2026, 12:15pm 1 I can’t log in due to the following error, any help please

    To log in, `huggingface_hub` requires a token generated from https://huggingface.co/settings/tokens .
Token can be pasted using 'Right-Click'.
Enter your token (input will not be visible):
Add token as git credential? [y/N]: y
Error: (Amz CF ID: SoCIN4FdRKB4Aftxnh2rChFGXpYI6AVGNMzuqPQhm_zT6pENSVpejw==)

Bad request:
Set HF_DEBUG=1 as environment variable for full traceback.

Related topics Topic Replies Views Activity Hugging face api key error Beginners 1 211 July 16, 2025 Huggingface-cli login issue Beginners 2 2171 January 21, 2025 Huggingface cli login error 🤗Hub 1 523 May 30, 2025 API Token not being recognized Beginners 1 213 May 24, 2025 Token not working Beginners 1 789 June 19, 2025

── more in #developer-tools 4 stories · sorted by recency
── more on @hugging face 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/error-login-hf-creat…] indexed:0 read:1min 2026-06-17 ·