UnauthorizedError: No authorization header After Switching to Headless Initialization #3569
Replies: 2 comments 5 replies
-
|
The "UnauthorizedError: No authorization header" issue you're encountering after switching to headless initialization could be due to a few reasons:
Review these points to ensure your setup is correct. If the issue persists, verify that the keys are correctly generated and encoded, and that all environment variables are properly configured. |
Beta Was this translation helpful? Give feedback.
-
|
@marcklingen Do we have to manually add the authorization header as the @dosu is suggesting? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Langfuse Community,
I’m currently working on integrating Langfuse into my application, and I've encountered an issue after switching from the UI-generated public and secret keys to using headless initialization with keys generated using OpenSSL.
Details:
Previous Setup: I initialized Langfuse using the public and secret keys generated from the Langfuse UI. This setup was working correctly without any errors.
Current Setup: I have transitioned to headless initialization and am now providing the initialization project public and secret keys, generated using the command:
openssl rand -hex 32Error Encountered:
After making this change, I receive the following error in the logs when I try to run any query:
Questions:
Any assistance or guidance would be greatly appreciated. Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions