PermissionError: Accessing embeddings is invalid

I’m trying to run the notebook for lesson 6 but I am getting the error “PermissionError: Accessing embeddings is invalid” when I try to create a vector store index.

It would appear that the provided api key is not able to access embeddings?

EDIT: it seems to work fine in the next lesson, I’m only experiencing the problem in the Q & A lesson