{"slug": "error-login-hf-create-token-error", "title": "Error Login HF. Create Token error?", "summary": "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.", "body_md": "Hugging Face Forums\nError Login HF. Create Token error?\nBeginners\nVitinello\nJune 17, 2026, 12:15pm\n1\nI can’t log in due to the following error, any help please\n\n```\n    To log in, `huggingface_hub` requires a token generated from https://huggingface.co/settings/tokens .\nToken can be pasted using 'Right-Click'.\nEnter your token (input will not be visible):\nAdd token as git credential? [y/N]: y\nError: (Amz CF ID: SoCIN4FdRKB4Aftxnh2rChFGXpYI6AVGNMzuqPQhm_zT6pENSVpejw==)\n\nBad request:\nSet HF_DEBUG=1 as environment variable for full traceback.\n```\n\nRelated topics\nTopic\nReplies\nViews\nActivity\nHugging face api key error\nBeginners\n1\n211\nJuly 16, 2025\nHuggingface-cli login issue\nBeginners\n2\n2171\nJanuary 21, 2025\nHuggingface cli login error\n🤗Hub\n1\n523\nMay 30, 2025\nAPI Token not being recognized\nBeginners\n1\n213\nMay 24, 2025\nToken not working\nBeginners\n1\n789\nJune 19, 2025", "url": "https://wpnews.pro/news/error-login-hf-create-token-error", "canonical_source": "https://discuss.huggingface.co/t/error-login-hf-create-token-error/176889#post_1", "published_at": "2026-06-17 12:15:03+00:00", "updated_at": "2026-06-17 12:30:10.589737+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["Hugging Face", "Vitinello", "Amazon CloudFront"], "alternates": {"html": "https://wpnews.pro/news/error-login-hf-create-token-error", "markdown": "https://wpnews.pro/news/error-login-hf-create-token-error.md", "text": "https://wpnews.pro/news/error-login-hf-create-token-error.txt", "jsonld": "https://wpnews.pro/news/error-login-hf-create-token-error.jsonld"}}