{"text": "This error message indicates that the API key you are using in your request is not correct. This could happen for several reasons, such as:\n\n\n\n- You are using a typo or an extra space in your API key.\n\n\n- You are using an API key that belongs to a different organization.\n\n\n- You are using an API key that has been deleted or deactivated\n\n\n- Your API key might be cached.\n\n\n\nTo resolve this error, please follow these steps:\n\n\n\n- Try clearing your browser's cache and cookies then try again.\n\n\n- Check that you are using the correct API key in your request header. Follow the instructions in our [Authentication](https://platform.openai.com/docs/api-reference/authentication) section to ensure your key is correctly formatted (i.e. 'Bearer ') \n\n\n- If you are unsure whether your API key is correct, you can generate a new one [here](https://platform.openai.com/account/api-keys). Make sure to replace your old API key in your codebase and follow our [best practices](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety).\n\n", "title": "Error Code 401 - Incorrect API key provided", "article_id": "6891781", "url": "https://help.openai.com/en/articles/6891781-error-code-401-incorrect-api-key-provided"}