Auth error
Hey, I created a new API key today, but no matter what I do, Langfuse keeps telling me it's invalid. According to the LS console everything seems in order.
All I did was try to follow the "getting started" page first steps:
result:
ERROR:langfuse:error uploading: [Langfuse] {"message":"Invalid public key"} (401)
What am I missing?!3 Replies
Hi Jason, are you on the US data region? (us.cloud.langfuse.com)
If yes, you need to set the host
os.environ["LANGFUSE_HOST"] = "https://us.cloud.langfuse.com"
Let me know if this fixed it for you, otherwise happy to have a closer look
Yes, that worked, thank you!
Perfect. Thanks for confirming