Pinecone uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided, and codes in the 5xx range indicate an error with Pinecone’s servers.

HTTP status codeDescription
200 - OKThe request succeeded.
201 - CREATEDThe request succeeded and a new resource was created.
202 - NO CONTENTThe request succeeded, but there is no content to return.
400 - INVALID ARGUMENTThe request failed due to an invalid argument.
401 - UNAUTHENTICATEDThe request failed due to a missing or invalid API key.
402 - PAYMENT REQUIREDThe request failed due to delinquent payment.
403 - FORBIDDENThe request failed due to an exceeded quota or index deletion protection.
404 - NOT FOUNDThe request failed because the resource was not found.
409 - ALREADY EXISTSThe request failed because the resource already exists.
412 - FAILED PRECONDITIONSThe request failed due to preconditions not being met.
422 - UNPROCESSABLE ENTITYThe request failed because the server was unable to process the contained instructions.
429 - TOO MANY REQUESTSThe request was rate-limited.
500 - UNKNOWNAn internal server error occurred.

Was this page helpful?