horizechCLI
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.

CodeMessage
UNAUTHORIZEDNot signed in, or the session has ended. Run "horizech login".
FORBIDDENYou need to be an OWNER or ADMIN of the organization to do this.
SERVICE_UNAVAILABLEhorizech-api is temporarily unavailable. Try again in a minute.
ORGANIZATION_NOT_FOUNDNo organization with that slug.
PACKAGE_NOT_FOUNDNo such package in that organization (or it is private and you cannot see it).
VERSION_NOT_FOUNDNo such version.
VERSION_ALREADY_EXISTS_IN_CHANNELThat version is already published in this channel. Bump Version in package.hws.
DUPLICATE_FILE_CONTENTThis zip is identical to a version already published in this channel.
AMBIGUOUS_VERSIONThat version exists in more than one channel. Pass --channel.
INVALID_CHANNELThe channel must be dev, beta or stable.
INVALID_PROMOTIONA version can only move forward: dev → beta, dev → stable or beta → stable.
INVALID_MANIFESTThe registry could not read package.hws.
MISSING_VERSION_IN_MANIFESTpackage.hws has no Version.
INVALID_VERSION_FORMATVersion must be a semantic version, e.g. 1.4.0.
MANIFEST_CONTAINS_FORBIDDEN_FIELDSpackage.hws contains Frontend.RemoteUrlOverride, a local development setting. Remove it.
NAME_CODE_AND_TYPE_REQUIREDCreating a package needs a name, a code and a type.
INVALID_VISIBILITYVisibility must be public, private or draft.
PACKAGE_FILE_NOT_FOUNDThe registry has a record of this version but not its file. Report this to Horizech.