{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiggg6ba54fjo4kg2c2qhncu2vi7zmo6bbb5k5w6h2a4w2ahjzyrom",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mhgjjkxyren2"
},
"path": "/t/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/174400#post_1",
"publishedAt": "2026-03-19T16:50:01.000Z",
"site": "https://discuss.huggingface.co",
"textContent": "I’m getting the following error when I try to run interference:\n\n…\n\n\n #instentiate llm\n self.llm = HuggingFaceEndpoint(\n repo_id=\"...\",\n task=\"text-generation\",\n max_new_tokens=100,\n temperature=0.6\n )\n\n\nI changed my API key but the problem still persists.",
"title": "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"
}