OpenAI Document not working

I’m following the OpenAI document, and running into a problem with the embedding section.

Max retries exceeded with url: /vectors/upsert

Seems like a common problem, it looks like an SSL issue (so maybe has to do with the python SSL stuff).

The upsert is failing because of a malformed request, apparently, but I am copying and pasting it directly from the documentation.


Ensure that your index is set to 1536 dimensions for OpenAI embeddings. When this is not set properly you can get some really seemingly unrelated errors from the API on upsert.