Skip to content

Licence required

A refusal on a self-hosted installation, because no licence is in force to permit a change.

Field Value
type https://mockhub.dev/problems/licence-required
Status 402

A self-hosted installation that the customer runs needs a licence from MockHub for anything to change. None is in force: none has been installed, the installed one no longer verifies, or it expired and its 30 days of grace have passed. Until an instance administrator installs one, every change is refused, whoever asks: a member, an instance administrator, a personal or machine token, or an AI assistant.

What keeps working:

  • Reading everything: projects, mocks, request logs, settings and the rest.
  • Every project’s address, which keeps answering with the mocks as they are.
  • Signing in and out, two-factor authentication, sign-in links, resetting a password and verifying an address.
  • Checks and previews that change nothing: Try it, OpenAPI validation, match explanations and the import previews.
  • Dry runs: mockhub push’s plan, and the preview of reverting an AI assistant’s changes. The change itself is refused.
  • Deactivating an account, under Admin → Users. Reactivating one is refused.
  • Installing a licence under Admin → Licence.

Always 402.

Any change, in the app, through the CLI or the API, or by an AI assistant: creating, changing or deleting projects, mocks, scenarios, workspaces, members, tokens, accounts and the rest. An AI assistant can still use the tools that only read.

Licence state detail
None installed This installation has no licence yet. An administrator must install one first.
The installed licence does not verify This installation's licence no longer verifies. An administrator must install a new one.
Expired, and past its grace This installation's licence has expired. Reads still work; an administrator must install a new licence before anything changes.

A licence installed before its start date waits for it, so until then an installation with no other licence answers as having none installed.

This type carries no extension members.

{
"type": "https://mockhub.dev/problems/licence-required",
"title": "Licence required",
"status": 402,
"detail": "This installation's licence has expired. Reads still work; an administrator must install a new licence before anything changes."
}

Sending the request again does not help, and no role or plan changes it. Ask an instance administrator to install a licence: Admin → Licence → Install licence in the app, or the installation’s operator from the host. The change can be made again once it is installed. Nothing was lost meanwhile: the request changed nothing.

A licence whose seats are all taken refuses only new and reactivated accounts, with Licence seats taken. A workspace that cannot be changed for a billing reason is Workspace suspended.

Report a problem with this page