I am trying to use the text-davinci-003 model for a web dev project of mine, but despite having a 100% working API key, no rate limits and enough funds to cover the token usage i am getting a 401 response. This does not happen when using the same API key in a python script using the openai library, it only happens with the NPM package.
Error Message:
xhr.js:210 - POST https://api.openai.com/v1/completions 401