{"text": "This error message indicates that your authentication credentials are invalid. This could happen for several reasons, such as:\n\n\n\n- You are using a revoked API key.\n\n\n- You are using a different API key than one under the requesting organization.\n\n\n- You are using an API key that does not have the required permissions for the endpoint you are calling.\n\n\n\nTo resolve this error, please follow these steps:\n\n\n\n- Check that you are using the correct API key and organization ID in your request header. You can find your API key and organization ID in your account settings [here](https://platform.openai.com/account/api-keys).\n\n\n- If you are unsure whether your API key is valid, you can generate a new one here. Make sure to replace your old API key with the new one in your requests and follow our [best practices](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety).\n\n", "title": "Error Code 401 - Invalid Authentication", "article_id": "6891767", "url": "https://help.openai.com/en/articles/6891767-error-code-401-invalid-authentication"} |