403 Forbidden: This authentication method does not have sufficient permissions to call Inference Providers on behalf of user mabaashar. Cannot access content at: https://... Make sure your token has the correct permissions
Hugging Face Forums [Unofficial]
March 19, 2026
I’m getting the following error when I try to run interference:
…
#instentiate llm
self.llm = HuggingFaceEndpoint(
repo_id="...",
task="text-generation",
max_new_tokens=100,
temperature=0.6
)
I changed my API key but the problem still persists.
Discussion in the ATmosphere