Referencelatest · 0.1.2
Error codes
What the CLI says for each registry error code.
When the registry adds detail, such as which version already exists, it is printed on the next line. Codes not listed here are shown with the registry's own explanation.
| Code | Message |
|---|---|
UNAUTHORIZED | Not signed in, or the session has ended. Run "horizech login". |
FORBIDDEN | You need to be an OWNER or ADMIN of the organization to do this. |
SERVICE_UNAVAILABLE | horizech-api is temporarily unavailable. Try again in a minute. |
ORGANIZATION_NOT_FOUND | No organization with that slug. |
PACKAGE_NOT_FOUND | No such package in that organization (or it is private and you cannot see it). |
VERSION_NOT_FOUND | No such version. |
VERSION_ALREADY_EXISTS_IN_CHANNEL | That version is already published in this channel. Bump Version in package.hws. |
DUPLICATE_FILE_CONTENT | This zip is identical to a version already published in this channel. |
AMBIGUOUS_VERSION | That version exists in more than one channel. Pass --channel. |
INVALID_CHANNEL | The channel must be dev, beta or stable. |
INVALID_PROMOTION | A version can only move forward: dev → beta, dev → stable or beta → stable. |
INVALID_MANIFEST | The registry could not read package.hws. |
MISSING_VERSION_IN_MANIFEST | package.hws has no Version. |
INVALID_VERSION_FORMAT | Version must be a semantic version, e.g. 1.4.0. |
MANIFEST_CONTAINS_FORBIDDEN_FIELDS | package.hws contains Frontend.RemoteUrlOverride, a local development setting. Remove it. |
NAME_CODE_AND_TYPE_REQUIRED | Creating a package needs a name, a code and a type. |
INVALID_VISIBILITY | Visibility must be public, private or draft. |
PACKAGE_FILE_NOT_FOUND | The registry has a record of this version but not its file. Report this to Horizech. |