Skip to content

Under maintenance

The answer MockHub gives to every request while a planned maintenance window has it stopped.

Field Value
type https://mockhub.dev/problems/maintenance
Status 503

MockHub is down for planned maintenance and will be back in a few minutes. The request did not reach MockHub, so nothing happened: nothing was saved or changed, no mock matched, no scenario moved and nothing was counted against the workspace’s plan. You did nothing wrong.

Always 503, with a Retry-After header of 120 seconds.

From every address MockHub answers on while the window lasts: the API, so the app, the CLI and AI assistants, and every project’s own address, including custom domains.

When detail
Always MockHub is under planned maintenance and will be back in a few minutes. This request changed nothing; send it again later.

A browser that opens a MockHub page meanwhile gets a maintenance page instead, which reloads itself every minute and returns to MockHub once it is back. A project’s own address answers with this body even to a browser.

This type carries no extension members.

{
"type": "https://mockhub.dev/problems/maintenance",
"title": "MockHub is under maintenance",
"status": 503,
"detail": "MockHub is under planned maintenance and will be back in a few minutes. This request changed nothing; send it again later."
}

Send the request again after the Retry-After wait. It is safe to repeat, including a request that creates or changes something, because this one changed nothing.

  • In the app, a banner says MockHub is under planned maintenance and goes away by itself once MockHub answers again. Repeat what you were doing then.
  • In a pipeline, run the job again later. The CLI prints the detail, exits with an error and does not retry on its own.
  • In a test suite calling a mock, a 503 with this type is MockHub’s state, not your mock’s answer. Treat it as a reason to retry or rerun, not as a failed test.

Progress is posted on status.mockhub.io. If it lasts more than an hour, report it with the time of the attempt.

A 503 without a type, or with an empty body, is not a planned window: something on MockHub’s side failed. Try again later, and report it if it keeps failing.

Report a problem with this page