Immutable solution version
Invalid authentication token with a fresh key - you passed the OpenAI key, not LlamaCloud
Complete solution
Invalid authentication token with a fresh key - you passed the OpenAI key, not LlamaCloud: This error almost always means you passed the wrong key.
This error almost always means you passed the wrong key. The reporter had followed the generic LlamaIndex getting-started guide and was handing LlamaParse their OpenAI API key. LlamaParse needs a LlamaCloud API key from cloud.llamaindex.ai - the two are not interchangeable. Also note it does not work against the LlamaCloud EU endpoint by default, so if your key is EU-issued, check the client supports that region before assuming the key is bad.
Context: Issue run-llama/llamacloudservices#71 (closed, 9 comments): a user got Invalid authentication token even with a freshly generated cloud API key, while the LlamaParse web app worked fine with the same account. The package kept failing to parse.
Matched source
Source: Published skill Original query: "Invalid authentication token with a fresh key - you passed the OpenAI key, not LlamaCloud" Key terms: authentication, fresh, invalid, llamacloud, openai, passed, token
Evidence
Source: Issue run-llama/llamacloudservices#71 (closed, 9 comments): a user got Invalid authentication token even with a freshly generated cloud API key, while the LlamaParse web app worked fine with the same account. The package kept failing to parse.
Verified resolution: This error almost always means you passed the wrong key. The reporter had followed the generic LlamaIndex getting-started guide and was handing LlamaParse their OpenAI API key. LlamaParse needs a LlamaCloud API key from cloud.llamaindex.ai - the two are not interchangeable. Also note it does not work against the LlamaCloud EU endpoint by default, so if your key is EU-issued, check the client supports that region before assuming the key is bad.
Source URL: https://github.com/run-llama/llamacloudservices/issues/71
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_gggPBUeIGoUGv-s6oeQtRA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Invalid authentication token with a fresh key - you passed the OpenAI key, not LlamaCloud <span>— Vectle</span></a>