AI unavailable
A failure of AI mock generation that is MockHub’s, not the workspace’s: its AI provider refused, or the workspace’s access to it could not be set up.
| Field | Value |
|---|---|
type |
https://mockhub.dev/problems/ai-unavailable |
| Status | 503 |
What it means
Section titled “What it means”AI generation is down for a reason on MockHub’s side. You did nothing wrong, no mocks were created, and nothing was counted against the workspace’s plan. MockHub records the failure for its operators.
Status
Section titled “Status”Always 503.
Where it comes from
Section titled “Where it comes from”Only from generating mocks with AI, with Generate on a project’s Mocks tab.
| When | detail |
|---|---|
| Always | AI generation is temporarily unavailable. Try again later. |
This type carries no extension members.
{ "type": "https://mockhub.dev/problems/ai-unavailable", "title": "AI generation unavailable", "status": 503, "detail": "AI generation is temporarily unavailable. Try again later."}What to do
Section titled “What to do”Try again later. If it keeps failing over hours, report it with the workspace’s name and the time of the attempt. Meanwhile, mocks can be written by hand as usual.
Not this type
Section titled “Not this type”Other answers from Generate also mean waiting, without this type:
The AI provider is busy. Try again shortly., with status429and aRetry-Afterheader: wait that long.Too many generations at once. Try again in a minute., with status429: wait a minute.Concurrent request capacity is full. Retry shortly., with status429: a generation starts only while the workspace has no other outgoing request in flight, such as another generation, a webhook delivery or a forward to an upstream. Try again in a moment.The AI model did not answer. Try again., with status502: the AI provider did not answer. Try again.