That 401 would seem to indicate that the API does not recognise the provided credentials.
https://help.openai.com/en/articles/6891767-error-code-401-invalid-authentication
That 401 would seem to indicate that the API does not recognise the provided credentials.
https://help.openai.com/en/articles/6891767-error-code-401-invalid-authentication