Error types
When MockHub refuses something in a way that needs a particular response from you, such as upgrading, asking an Owner or verifying your email, the error it returns names the kind of refusal in its type field, and its detail says what happened. The app shows the detail; these pages explain each kind, and what to do about it.
A project’s own address uses a few of them: no-mock-matched when no active mock matches the request and nothing forwards it, the store- types when a mock’s data store write cannot happen, mock-render-failed when the mock that matched could not render its response, content-removed when the workspace was taken down for breaking the Terms of Service, download-blocked when a browser opens a file download on a shared domain, workspace-suspended when the workspace is suspended, demo-expired when the demo has ended, plan-limit when the project is archived or outside the plan’s active projects, the request body is over the plan’s limit, or a rate limit is reached, and maintenance while a planned maintenance window has all of MockHub stopped. Its other answers, such as Project not found for a hostname no project answers, carry no type: see My request returns 404 and the other troubleshooting pages.
Each type’s title is a short summary of it, the same on every occurrence, such as Confirm your email first for email-unverified; an error without one of these types has the HTTP status’s reason phrase, such as Not Found, or Validation Failed when it lists invalid fields. Tell refusals apart by type, never by title.
| Type | Meaning |
|---|---|
Insufficient roleinsufficient-role | The role of the person or token making the request is too low for what was asked. |
Token scopetoken-scope | An API token reached for something outside its scope, such as another workspace, another project, more than its role, or your account. |
Plan limitplan-limit | The workspace's plan does not include what was asked, or a limit the plan sets is reached. |
Role hierarchyrole-hierarchy | You may manage members, but not this member or this role, because your role does not rank above it. |
Email unverifiedemail-unverified | An email address has not been confirmed, so MockHub will not send traffic to an address the workspace chose, or let you answer an invitation. |
Registration closedregistration-closed | The installation creates new accounts only for invited addresses, or for addresses on its organisation's domains, and this address is neither. |
Account deactivatedaccount-deactivated | An instance administrator deactivated the account, so it cannot sign in until one reactivates it. |
Licence seats takenlicence-limit | On a self-hosted installation, every seat its licence grants is taken, so no account can be added or reactivated. |
Licence requiredlicence-required | On a self-hosted installation, no licence is in force, so every change is refused while reading, sign-in and the mocks keep working. |
Workspace suspendedworkspace-suspended | The workspace is suspended over a billing problem only support can resolve, so changes in it are refused. |
Demo expireddemo-expired | The demo whose project you tried to keep has been cleaned up, so there is nothing left to keep. |
Two-factor requiredtwo-factor-required | A workspace requires account enrollment or a sign-in that passed a second factor. |
Second factor expiredsecond-factor-expired | The sign-in that was waiting for your two-factor code is gone, so you sign in again. |
Sign-in link sentsign-in-link-sent | Too many wrong passwords were tried for one address, so its password is not checked for a while and the account is emailed a sign-in link instead. |
Content removedcontent-removed | A project's address was taken down for breaking the MockHub Terms of Service, so it answers nothing else. |
Download blockeddownload-blocked | A browser opened a file download from a shared MockHub domain, which does not hand a browser a file, so it answers 403. |
Config conflictconfig-conflict | The project changed between the preview of a configuration document and its apply, so nothing was applied. |
Mock changedmock-changed | The mock was saved again after you opened it, so your change was not saved. |
Mock selection changedmock-selection-changed | The filter you acted on now matches a different number of mocks than the list showed, so nothing was changed. |
OpenAPI document invalidopenapi-invalid | The OpenAPI document has mistakes to fix before it can be imported, and nothing was stored. |
OpenAPI document unsupportedopenapi-unsupported | The OpenAPI document may be valid, but it uses something MockHub does not import, and nothing was stored. |
OpenAPI conflictopenapi-conflict | The project or its OpenAPI contract changed after the import, deletion or change of response values was reviewed, so nothing was changed. |
Response templating offresponse-templating-off | Varying generated response values was refused because the project's response templating is off, and the action never turns it on. |
Project access conflictproject-access-conflict | The project's gateway access changed after you read it, so your change to it was not saved. |
Import source invalidimport-invalid | A HAR, Postman collection or curl paste cannot be read, or the import's plan has a problem to fix first, and nothing was created. |
Import source unsupportedimport-unsupported | The source is something the mock import does not read, such as an OpenAPI document or a Postman environment, and nothing was created. |
Import conflictimport-conflict | The project changed after the mock import was previewed, so the import would no longer do what its preview showed, and nothing was created. |
AI generation pausedai-budget-exhausted | AI mock generation is paused for the workspace, and comes back on the date the refusal names. |
AI unavailableai-unavailable | AI mock generation cannot run for a reason on MockHub's side; nothing was used up, and it works again later. |
AI disabledai-disabled | A MockHub operator has switched AI mock generation off for this workspace; only support can turn it back on. |
Data store key missingstore-key-missing | A mock's data store write could not find the key it saves under, so the mock's own response was not sent and nothing was saved. |
Data store value invalidstore-value-invalid | A mock's data store write had a value that is not JSON, so the mock's own response was not sent and nothing was saved. |
Data store limitstore-limit | A mock's data store write would pass a limit, so the mock's own response was not sent and nothing was saved. |
Data store unavailablestore-unavailable | A mock writes to a data store the project does not have, so the mock's own response was not sent. |
Data store record changedstore-record-changed | The record was written again after you read it, most likely by a mock, so your edit or delete was not made. |
Data store record existsstore-record-exists | A record with that key is already in the collection, so nothing was added. |
Data store records changedstore-records-changed | A delete by search matched a different number of records than you were shown, most likely because a mock wrote meanwhile, so nothing was deleted. |
Scenario unavailablescenario-unavailable | MockHub could not read or save the scenario state a request depends on, so no mock answered it. |
Scenario conflictscenario-conflict | Another request moved the same scenario at the same moment, twice, so no mock answered this one. |
Response selector malformedresponse-selector-malformed | A request's X-MockHub-Response header was empty, repeated or not of the form <mock reference>:<response key>, so MockHub refused it. |
Response selection unavailableresponse-selection-unavailable | The response a request asked for in X-MockHub-Response cannot be served for it, so MockHub refused the request instead of answering the default. |
Mock response did not rendermock-render-failed | The mock that matched could not render its response template, so the caller got this error in its place, and the project's request log says why. |
Proposal closedassistant-proposal-closed | The assistant's proposal can no longer be applied, refined, discarded or reverted as asked. |
Mocks changedassistant-proposal-stale | A mock the assistant's proposal changes was edited after the proposal was made, so nothing was applied. |
Trial unavailabletrial-unavailable | The Pro trial cannot be started for this workspace now, for the reason the response names, and nothing started. |
Plan change refusedplan-change-refused | A workspace cannot move to the plan it chose, or change its add-ons, by itself, for the reason the response names, and nothing was charged. |
No room for new projectsplatform-capacity | MockHub has no room for new projects, so no project was created; existing projects keep working, and the same request succeeds once there is room. |
Inbox relay busyinbox-relay-busy | The project already has three people listening to its inbox, so another listener was not started. |
Request contract invalidrequest-contract-invalid | A preview environment that refuses requests breaking its OpenAPI contract answered with 422, and no mock saw the request. |
Request contract unverifiedrequest-contract-unverified | A preview environment that refuses requests breaking its OpenAPI contract could not check a request, so it answered 503 and served nothing. |
Verification stale epochverification-stale-epoch | A verification run owns the project, or a heartbeat came after the run had moved on, so it was refused. |
Verification unsupportedverification-unsupported | The dependency of a verification run cannot be reproduced, or changes something only a person may change. |
Verification initialization failedverification-initialization-failed | A verification run could not prepare its preview environments, and left nothing behind. |
Verification evidence incompleteverification-evidence-incomplete | A verification run was finished while some calls its dependency had admitted were still unresolved. |
MCP toolset unknownmcp-toolset-unknown | The MCP connection URL names a toolset that does not exist, so the assistant could not connect. |
No mock matchedno-mock-matched | A request to a project's address matched no active mock and the project sent it nowhere else, so the gateway answered 404 and named the method and path it looked for. |
Under maintenancemaintenance | MockHub is in a planned maintenance window, so the request reached nothing and changed nothing; send it again after the Retry-After wait. |