Im new to OpenAI's API and am following the Quickstart tutorial found here: https://beta.openai.com/docs/quickstart/build-your-application
I just cloned their GitHub repo (git clone https://github.com/openai/openai-quickstart-node.git
) and when I tried to run it, I got this error.
POST http://localhost:3000/api/generate 500 (Internal Server Error)
Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
I don't understand what I missed, any help would be greatly appreciated.