Unexpected Token
You may receive an error response Error occurred: Unexpected token '<', "<!DOCTYPE"...is not valid JSON
, when you start a chat with OpenAI models.
-
Check that you added an OpenAI API key. You can get an API key from OpenAI's developer platform. Alternatively, we recommend you download a local model from Jan Hub, which remains free to use and runs on your own computer!
-
Using a VPN may help fix the issue.