Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Request failed with status code 401 #32

Closed
bobwatcherx opened this issue May 14, 2023 · 2 comments
Closed

Request failed with status code 401 #32

bobwatcherx opened this issue May 14, 2023 · 2 comments
Labels

Comments

@bobwatcherx
Copy link

i have error in web

Unhandled Runtime Error


AxiosError: Request failed with status code 401
Call Stack
AxiosError
node_modules/axios/lib/core/AxiosError.js (22:0)
createError
node_modules/langchain/dist/util/axios-fetch-adapter.js (320:0)
settle
node_modules/langchain/dist/util/axios-fetch-adapter.js (25:0)
fetchAdapter/<
node_modules/langchain/dist/util/axios-fetch-adapter.js (175:0)
fetchAdapter
node_modules/langchain/dist/util/axios-fetch-adapter.js (167:0)

I have correctly filled all apikey .

@miurla
Copy link
Owner

miurla commented May 15, 2023

This error is occurring when requesting OpenAI's API using LangChain.
Could you please check if the OpenAI API key is set correctly?

https://help.openai.com/en/articles/6891767-error-code-401-invalid-authentication

@miurla miurla added the error label May 22, 2023
@miurla
Copy link
Owner

miurla commented May 22, 2023

If you need assistance, please reopen.

@miurla miurla closed this as completed May 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants