Suddenly facing timeout errors

My api calls were all working yesterday, now today every single API response says

{
    "error": {
        "message": "Timed out generating response. Please try again with a shorter prompt or with `max_tokens` set to a lower value.",
        "type": "internal_error",
        "param": null,
        "code": "request_timeout"
    }
}

My prompt isn’t even too long, and the max tokens is set to 3000, this was never a problem before - did they update the limits or something?

Think the APIs might be down right now

1 Like

You can subscribe to the status page to learn when this issue is behind us.

1 Like

Happened the same to me today.

The fix was to change the API key. I used to have an old API key with a different format than the new ones. Maybe they deprecated that without warning.