Skip to content
qibdo qibdo
Theme
Book a demo

Errors

Every Registry error carries a stable numeric error_code and a machine-readable reason. This page lists the logical (domain) error codes Registry can return. For the full error envelope (the google.rpc.Status shape, the reason and metadata fields, and how codes are structured) see Errors.

Registry codes begin with 9 (for example 9300001, read as 9_300_001: service, group, specific error). The wire value is always the flat integer; you can match on either error_code or reason, both are stable.

The Status column is the canonical gRPC status the error maps to, which the gateway renders as the matching HTTP status (see the status codes table).

CodeReasonStatusDescription
9300001NAMESPACE_NOT_FOUNDNOT_FOUNDNamespace not found.
9300002NAMESPACE_ALREADY_EXISTSALREADY_EXISTSA namespace with this name already exists in the workspace.
9300003NAMESPACE_NAME_VALIDATIONINVALID_ARGUMENTNamespace name is not valid.
9300004NAMESPACE_WORKSPACE_ID_NOT_VALIDINVALID_ARGUMENTNamespace workspace ID is required.
9300005NAMESPACE_NOT_EMPTYFAILED_PRECONDITIONCannot delete a namespace that contains repositories.
9300006NAMESPACE_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONNamespace must be marked for deletion before removal.
9300007NAMESPACE_REGION_ID_NOT_VALIDINVALID_ARGUMENTNamespace region ID is required.
9300008NAMESPACE_BACKEND_CREATION_FAILEDUNAVAILABLEFailed to create registry backend resources for the namespace.
9301001REPOSITORY_NOT_FOUNDNOT_FOUNDRepository not found.
9301002REPOSITORY_ALREADY_EXISTSALREADY_EXISTSA repository with this name already exists in the namespace.
9301003REPOSITORY_NAME_VALIDATIONINVALID_ARGUMENTRepository name is not valid.
9301004REPOSITORY_NAMESPACE_ID_NOT_VALIDINVALID_ARGUMENTRepository namespace ID is required.
9301005REPOSITORY_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONRepository must be marked for deletion before removal.
9302001REGISTRY_OPERATION_NOT_FOUNDNOT_FOUNDRegistry operation not found.
9302002REGISTRY_OPERATION_PROGRESS_OUT_OF_RANGEINVALID_ARGUMENTOperation progress must be between 0 and 100.
9302003REGISTRY_OPERATION_END_TIME_BEFORE_START_TIMEINVALID_ARGUMENTOperation end time must not be before start time.
9303001ACCESS_POLICY_NOT_FOUNDNOT_FOUNDAccess policy not found.
9303002ACCESS_POLICY_ALREADY_EXISTSALREADY_EXISTSAn access policy already exists for this principal and scope.
9303003ACCESS_POLICY_SCOPE_ID_NOT_VALIDINVALID_ARGUMENTAccess policy scope ID is required.
9303004ACCESS_POLICY_PRINCIPAL_ID_NOT_VALIDINVALID_ARGUMENTAccess policy principal ID is required.
9303005ACCESS_POLICY_ACTIONS_ARE_EMPTYINVALID_ARGUMENTAccess policy must have at least one action.
9303006ACCESS_POLICY_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONAccess policy must be marked for deletion before removal.
9304001SCAN_POLICY_NOT_FOUNDNOT_FOUNDScan policy not found.
9304002SCAN_POLICY_ALREADY_EXISTSALREADY_EXISTSA scan policy already exists for this scope.
9304003SCAN_POLICY_SCOPE_ID_NOT_VALIDINVALID_ARGUMENTScan policy scope ID is required.
9304004SCAN_POLICY_SCOPE_TYPE_NOT_VALIDINVALID_ARGUMENTScan policy scope type is not valid.
9304005SCAN_POLICY_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONScan policy must be marked for deletion before removal.
9305001RETENTION_POLICY_NOT_FOUNDNOT_FOUNDRetention policy not found.
9305002RETENTION_POLICY_ALREADY_EXISTSALREADY_EXISTSA retention policy already exists for this repository.
9305003RETENTION_POLICY_REPOSITORY_ID_NOT_VALIDINVALID_ARGUMENTRetention policy repository ID is required.
9305004RETENTION_POLICY_SCHEDULE_NOT_VALIDINVALID_ARGUMENTRetention policy schedule is not valid.
9305005RETENTION_POLICY_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONRetention policy must be marked for deletion before removal.
9306001DEPLOYMENT_LOCK_NOT_FOUNDNOT_FOUNDDeployment lock not found.
9306002DEPLOYMENT_LOCK_ALREADY_EXISTSALREADY_EXISTSA deployment lock already exists for this digest and context.
9306003DEPLOYMENT_LOCK_REPOSITORY_ID_NOT_VALIDINVALID_ARGUMENTDeployment lock repository ID is required.
9306004DEPLOYMENT_LOCK_DIGEST_NOT_VALIDINVALID_ARGUMENTDeployment lock digest is not valid.
9306005DEPLOYMENT_LOCK_ACTIVEFAILED_PRECONDITIONCannot delete an image while deployment locks are active.
9306006DEPLOYMENT_LOCK_CONTEXT_NOT_VALIDINVALID_ARGUMENTDeployment lock context is not valid.
9306007DEPLOYMENT_LOCK_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONDeployment lock must be marked for deletion before removal.
9307001CROSS_NAMESPACE_GRANT_NOT_FOUNDNOT_FOUNDCross-namespace grant not found.
9307002CROSS_NAMESPACE_GRANT_ALREADY_EXISTSALREADY_EXISTSA cross-namespace grant already exists for this source, target, and tag pattern.
9307003CROSS_NAMESPACE_GRANT_SOURCE_NAMESPACE_ID_NOT_VALIDINVALID_ARGUMENTCross-namespace grant source namespace ID is required.
9307004CROSS_NAMESPACE_GRANT_TARGET_NAMESPACE_ID_NOT_VALIDINVALID_ARGUMENTCross-namespace grant target namespace ID is required.
9307005CROSS_NAMESPACE_GRANT_SELF_REFERENCINGINVALID_ARGUMENTCross-namespace grant source and target namespaces must be different.
9307006CROSS_NAMESPACE_GRANT_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONCross-namespace grant must be marked for deletion before removal.
9308001CREDENTIAL_DISABLEDFAILED_PRECONDITIONThe persisted registry credential record is disabled.
9309001ARTIFACT_NOT_FOUNDNOT_FOUNDArtifact not found.
9309002ARTIFACT_DELETION_FAILEDUNAVAILABLEFailed to delete the artifact in the registry backend.
9310001TAG_DELETION_FAILEDUNAVAILABLEFailed to delete the tag in the registry backend.
9311001SCAN_TRIGGER_FAILEDUNAVAILABLEFailed to trigger the artifact scan in the registry backend.