Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a 401 Unauthorized #10

Open
SebastianMaierOfficial opened this issue Jun 30, 2023 · 3 comments
Open

Getting a 401 Unauthorized #10

SebastianMaierOfficial opened this issue Jun 30, 2023 · 3 comments

Comments

@SebastianMaierOfficial
Copy link

I embedded the full and the bubble version of the script. But both return a 401 Unauthorized on the first user message.
I couldn't find how to add a header with the API key, am I missing something?

The chat in Flowise Admin works as expected. Also CURL works fine, after adding a second API-Key.

@SebastianMaierOfficial
Copy link
Author

I did some tests and added a option to add an authToken via config and in the sendRequest. That solved the issue for me.

@fengxu1211
Copy link

@SebastianMaierOfficial Hello, could you share your workaround?

@SebastianMaierOfficial
Copy link
Author

@fengxu1211 Did so, please check my Pull request #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants