Skip to content

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

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.

Always 503.

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."
}

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.

Other answers from Generate also mean waiting, without this type:

  • The AI provider is busy. Try again shortly., with status 429 and a Retry-After header: wait that long.
  • Too many generations at once. Try again in a minute., with status 429: wait a minute.
  • Concurrent request capacity is full. Retry shortly., with status 429: 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 status 502: the AI provider did not answer. Try again.

Report a problem with this page