Index creation error

I am experiencing an error when trying to create indexes for my project. I get this error:

PineconeError: PineconeClient: Error calling createIndex: Index name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character

So, I ensured I formatted my index name to meet this criteria, my index is now named:


However, I am still getting the same error. When I create an index with the same name using the GUI of the Pinecone console, I don’t encounter these errors.
Please help.

1 Like

Hi @ayilarasodiq1,

Thanks for your question, and I’m sorry to hear you encountered this issue.

That is odd - would you please share your application code making the call so we can further investigate?

If the name is working in the Pinecone GUI, it should also work within the Python or TypeScript client - unless something is going wrong in the application code.

I hope that helps!