Troubleshooting of OpenAI API: Difference between revisions

Jump to navigation Jump to search
Line 277: Line 277:
* Retry your request as suggested in the message
* Retry your request as suggested in the message
* Send an issue to [https://help.openai.com/en/ OpenAI Help Center]
* Send an issue to [https://help.openai.com/en/ OpenAI Help Center]
=== The project you are requesting has been archived and is no longer accessable (accessible) ===
Error message:
<pre>
{
    "error": {
        "message": "The project you are requesting has been archived and is no longer accessable",
        "type": "invalid_request_error",
        "param": null,
        "code": "not_authorized_invalid_project"
    }
}
</pre>
Solution:
* If you are the administrator, first visit https://platform.openai.com/organization/api-keys to verify which API key is associated with which project.
* Next, go to https://platform.openai.com/organization/projects to determine if the project is active or archived.
* If the project is archived, you may need to assign the API key to another active project or a new one.


=== How to fix "This model's maximum context length is 4097 tokens" ===
=== How to fix "This model's maximum context length is 4097 tokens" ===

Navigation menu