ERROR 401 Missing bearer or basic authentication in header GPT ASSISTANT

Did you make any progress on this?

I’m experiencing this when attempting to use the assistants API in my React Native app running in Expo Go. I’ve verified that the API works for me with the given model, API key, etc. when running locally in a vanilla Node.js project - so I’m guessing it’s something with React or Expo. I’m hardcoding my API key for testing so it’s definitely not the lack of the environment variable.

1 Like