Quader Docs 0.176.0

Error codes

Every problem code of this version with the HTTP status it comes with and what it means.

On this page

An error answer of Quader is application/problem+json; its member code is one of the codes below, and GET /api/v1/problems/<code> answers the same text without sign-in. What to do about the common ones: Errors and troubleshooting.

400 Bad Request

94 codes
Code Title and meaning
action_not_allowed Action not allowed for this principal. The principal kind cannot hold the action, for example manage for a CI identity mapping.
algorithms_not_offered Algorithms not offered. The issuer's id_token_signing_alg_values_supported does not intersect allowed_algorithms.
ansible_invalid_request Invalid Ansible Galaxy request. The publish request is malformed: a part is missing or repeated, or the body is not multipart/form-data.
ansible_sha256_mismatch Collection digest mismatch. The sha256 part of the publish is not the SHA-256 of the archive that was sent. Nothing was stored.
bastion_interface_mismatch Bastion interface mismatch. The request names another version of the Bastion interface than this installation speaks, or none; the member interfaceVersion is this installation's. Upgrade the Bastion or the installation so that they speak the same version.
bastion_not_allowed Bastion not allowed. The Bastion named in the repository's member bastions does not allow the repository's project; an administrator allows the project for that Bastion first.
batch_too_large Batch too large. A batch operation names more repositories than repositories.batch_limit.
browser_mismatch Browser mismatch. The login callback arrived in a browser other than the one that started the login. Start the login again in one browser.
catalogue_not_offered Not offered by the upstream. The upstream of this remote repository does not answer this call of the catalogue, for example a search where it has none. Look the package up by its exact name.
catch_all_condition Catch-all condition. A condition needs at least one leaf; a mapping that matches every token is refused.
condition_invalid Condition invalid. The condition exceeds depth 4, 64 leaves, 256 values in an in list, 512 characters of a regular expression, 1,024 characters of a literal or a glob, 256 characters of a claim name or path member, 16 path members or 64 KiB in all, or a leaf has no or several operators, an invalid glob or a regular expression that does not compile.
deb_distribution_required Debian distribution required. An upload to a Debian repository names at least one distribution (suite) with the distribution parameter.
deb_invalid_coordinate Invalid Debian coordinate. A distribution or component is outside the grammar ^[a-z0-9][a-z0-9._+-]{0,63}$, or a request names more than 16 of them.
deb_invalid_file_name Invalid Debian file name. The file name of an upload must end in .deb; Quader names the stored file itself.
default_above_maximum Default above maximum. A default lifetime must not exceed its maximum.
description_required Description required. A token needs a description of 1 to 1024 characters.
dimension_not_supported Dimension not supported. The repository's format has no package names, versions or tags for this exposure rule dimension; generic repositories are exposed through paths.
discovery_unreachable Discovery unreachable. The discovery document or the key set of the issuer could not be fetched; the detail names the failure class, never a response body.
duplicate_principal Duplicate principal. A policy holds at most one entry per principal.
empty_grant Empty grant. A mapping needs at least one policy, group or inline grant.
exceeds_ceiling Exceeds the configured ceiling. A runtime value must not exceed the ceiling set in the Helm configuration.
flow_expired Login expired. The login flow is unknown, used or older than ten minutes. Start the login again.
format_not_exposable Format not exposable. The repository's format cannot be served on an endpoint with exposure rules yet.
format_system_only Format is system only. The format has one repository, which Quader declares in the project upstream (systemOnly in GET /api/v1/formats); no repository of it is created.
groups_not_allowed_in_project Groups not allowed in a project mapping. A project Owner's mapping grants through the project's own policies and inline grants over its repositories; groups are global grants.
invalid_action Invalid action. The name is neither one of the six repository actions nor a preset (read, write, maintain, full).
invalid_audit_range Invalid audit range. The time range of the audit query or export is missing, ends before it starts, or exceeds the 400 days an export may cover. Send from and to as RFC 3339 times, with to after from.
invalid_cursor Invalid cursor. The cursor was not issued by this server, is of an unsupported version, or was issued for other filters or another sort order. Restart the traversal without a cursor.
invalid_document Invalid document. The configuration document is not valid JSON of the expected shape, or it names a member that does not exist.
invalid_header Invalid header. A Quader request header has an invalid value; the detail names the header.
invalid_key Invalid repository key. A key is 2 to 64 characters matching the OCI component grammar ^[a-z0-9]+(?:(?:[._]|__|-+)[a-z0-9]+)*$: lower-case letters and digits separated by a dot, an underscore, a double underscore or hyphens, starting and ending with a letter or digit.
invalid_member Invalid member. A virtual repository member is missing, being deleted, of another format, duplicated or the repository itself.
invalid_path Invalid path. The path has an empty, "." or ".." segment, a NUL, a backslash or a control character, is not valid UTF-8, or exceeds the length limits.
invalid_pattern Invalid pattern or selector. A package-name pattern, path pattern or repository selector has invalid syntax or exceeds the limits of R-AUTHZ-005.
invalid_scope Invalid scope. The token scope has an unknown field or action, an unknown endpoint, or exceeds the size limits.
invalid_ttl Invalid lifetime. Give ttlSeconds (at least 60, or 0 for a non-expiring service-account token) or expiresAt, not both, and at least 60 seconds ahead.
invalid_version_range Invalid version range. The format refuses the version range of an exposure rule, or the range is longer than 256 characters.
issuer_mismatch Issuer mismatch. The issuer value of the discovery document is not exactly the configured issuer, or the ci_issuer of an exchange names another issuer than the token's iss.
job_token_fallback_not_available Job-token fallback not available. The CI_JOB_TOKEN fallback is not built in this release.
kind_not_available Issuer kind not available. The kinds github and generic are not available in this release.
malformed_request Malformed request. The request cannot be parsed: unparsable JSON, wrong types, an unknown or duplicate field, or an unknown query parameter.
mapping_limit_reached Mapping limit reached. The issuer holds ci.mappings.max_per_issuer mappings, or the project's tier holds ci.mappings.max_per_project mappings of the issuer.
mirror_restricted Mirror restricted. Only a holder of repositories:write-config sets remote.mode mirror or changes remote.mirror; a project Owner keeps the stored settings, pauses, resumes or turns the mode back to pullThrough.
mirror_unbounded Mirror unbounded. A mirror of the format's well-known upstream needs a bound: a scope (remote.mirror.include) whose patterns each have a literal prefix, or remote.mirror.maxBytes. Until it has one it is neither saved nor run.
no_usable_keys No usable keys. The key set of the issuer holds no key that meets the key rules (use, key_ops, key type, 2048-bit RSA).
non_expiring_not_allowed Non-expiring token not allowed. Only a service-account token can be non-expiring, and only while the configuration allows it.
not_a_package Not a package. The format refuses content that is not one of its packages.
not_applicable Not applicable. The setting does not apply to the repository's class or format.
npm_bad_publish Malformed npm publish. The publish request or its tarball is malformed or ambiguous: the envelope, the attachments, the archive rules of R-NPM-007.
npm_invalid_name Invalid npm package name. The package name breaks the rules of R-NPM-002: an empty, "." or ".." segment, a control character, a percent sign left after decoding, more than one "/", or, for a name being published, npm's rules for new names or a look-alike of an existing name.
npm_invalid_range Invalid npm version range. The version range is not accepted by node-semver.
npm_invalid_tag Invalid npm dist-tag. A dist-tag is 1 to 128 characters, starts with a letter or digit and is not a valid SemVer range; the version of a tag must be a live version.
npm_invalid_version Invalid npm version. The version is not a canonical SemVer 2.0.0 version without build metadata.
npm_manifest_mismatch npm manifest mismatch. The manifest of the request and the package.json in the tarball disagree on name, version or an install-relevant field.
nuget_invalid_id Invalid NuGet package ID. The package ID breaks the rules of R-NUGET-003: its length, its characters or its shape.
nuget_invalid_package Invalid NuGet package. The .nupkg is not a package Quader accepts: not a ZIP archive, a name or entry the archive rules refuse, a missing or repeated .nuspec at the root, a limit of nuget.archive exceeded, or a .nuspec that is not well-formed or declares a DOCTYPE. The detail names the rule.
nuget_invalid_version Invalid NuGet version. The version is not a NuGet version Quader accepts: one to four numeric parts, an optional pre-release and build metadata, at most 255 bytes as given and normalized.
nuget_invalid_version_range Invalid NuGet version range. The version range is not accepted: interval or minimum-version notation of NuGet.Versioning, without a floating version.
oci_digest_invalid Invalid OCI digest. A digest is sha256: followed by 64 lower-case hexadecimal digits; no other algorithm is accepted. The digest of the content does not equal the digest the request names.
oci_manifest_blob_unknown OCI manifest references an unknown blob. The manifest names a config, a layer or a manifest that the repository does not hold under this image name.
oci_manifest_invalid OCI manifest invalid. The manifest is not one Quader accepts: it is not valid JSON of a supported media type, it is larger than 4 MiB, it uses a digest algorithm other than sha256, or its references break the rules of the repository.
oci_name_invalid Invalid OCI image name. The image name is not in the component grammar of the OCI distribution specification, or the whole name (project key, repository key and image name) is longer than 255 bytes. Upper-case letters are refused, never folded.
oci_tag_invalid Invalid OCI tag. A tag matches [a-zA-Z0-9_][a-zA-Z0-9._-]{0,127}.
oci_unsupported OCI operation not offered. The repository does not offer the operation: a write to a remote repository or to a virtual repository without a deployment target, or a parameter Quader does not support.
outbound_path_restricted Outbound path restricted. A project Owner's remote repository takes the installation's outbound path: outboundProxy.mode direct and a sourceNetwork are an administrator's, and stay only while the url and the extra hosts do.
pin_claim_not_immutable Pin claim not immutable. pin_claims may name only the immutable ID claims of the issuer kind; a path or name claim changes on rename and transfer.
pin_required Pin required. A mapping of a public CI issuer needs an equals or in leaf on an immutable ID claim (project_id, namespace_id) at the top level of its all.
policy_outside_project Policy outside the project. A project Owner's mapping may name only policies of its own project.
principal_outside_project Principal outside the project. A service account of a project is granted only through the policies of its project and owns packages only in its project's repositories.
principal_outside_repository Principal outside the repository. A service account of a repository holds its rights on its repository at the account: no policy names it, and it owns packages only in its repository.
project_account_not_groupable Project service account cannot join a group. A service account of a project is no group member: a group's grants would reach the project's account.
public_issuer_required Public issuer required. An issuer whose URL is public by construction (gitlab.com) is a public issuer.
repository_outside_project Repository outside the project. A project policy, a CI mapping of a project or a virtual repository of a project names a repository that is not in the project; a key that does not exist answers the same.
role_not_allowed Role not allowed. System roles are bound to users, groups and service accounts only; never to anonymous, authenticated or CI identity mappings.
secret_value_required Secret value required. A project Owner gives an upstream secret as a value: a secret reference is the installation's, and a stored credential does not follow a change of url, of an extra host that receives credentials or of forwardAuthOnRedirect.
template_invalid Template invalid. The template has a syntax error, an unknown filter or source, or a bad argument.
template_unanchored Template unanchored. A template in repositories needs literal text next to every substitution, so a claim value alone cannot select a repository.
ttl_exceeds_maximum Lifetime exceeds the maximum. The requested lifetime is above the maximum for the token type; Quader does not clamp it.
unknown_format Unknown format. The format is not in the format catalog; GET /api/v1/formats lists the formats.
unknown_group Unknown group. A mapping names a group that does not exist.
unknown_policy Unknown policy. A mapping names a permission policy that does not exist.
unknown_principal Unknown principal. No principal of this reference exists.
unknown_project Unknown project. The project does not exist, or the caller does not administer it; the answer does not tell which.
unknown_repository Unknown repository. A key selector names a repository that does not exist.
unknown_role Unknown role. The role is not one of admin, security-admin, auditor, repository-admin, webhook-admin.
unpinned_write Unpinned write. A write granted through a policy or a group needs a pin on an immutable ID claim; an inline grant with ownership bind_project is the exception on a private issuer.
unprotected_write Unprotected write. A mapping that grants deploy, overwrite or delete needs ref_protected equals true in its top-level all, or options.allowUnprotectedRefs.
unsupported_class Unsupported class. The class is unknown, or the format does not support it.
unsupported_layout Unsupported layout. A repository has the one layout of its format; it cannot be set to another.
username_invalid Invalid username. The username does not match the name rule or is reserved.
validation_failed Validation failed. The request parsed but one or more fields are invalid; see errors.
virtual_action_not_applicable Action not applicable to a virtual repository. A key selector that names a virtual repository accepts only read and manage.
visibility_above_project Level above the project. The artifacts level of a repository is never above its project's level.
visibility_wiki_above_artifacts Wiki above the artifacts. The wiki level of a repository is never above its artifacts level.

401 Unauthorized

9 codes
Code Title and meaning
bastion_token_invalid Bastion token invalid. The Bastion token of the request is invalid, revoked or expired. It concerns the Bastion, not the caller; a disabled registration's token stays valid.
credentials_required Credentials required. The request carries no credential and anonymous access is off or does not cover it.
invalid_credentials Invalid credentials. The credentials were refused.
invalid_token Invalid token. The token is malformed, unknown, expired or revoked. The response does not say which; request a new token.
oci_insufficient_scope OCI registry token lacks the scope. The registry token does not grant what the request needs on this image name; the challenge names the scope to ask the token service for.
principal_disabled Principal disabled. The credential is valid but its owner is disabled.
reauthentication_required Re-authentication required. The action mints a long-lived credential and needs a recent sign-in at the identity provider; start the re-authentication round trip and retry.
session_expired Session expired. The session cookie names a session that has ended (logout, timeout, revocation). Sign in again.
unauthenticated Authentication required. The request carries no valid credential.

403 Forbidden

26 codes
Code Title and meaning
break_glass_restricted Not allowed for the break-glass account. The break-glass account can neither own nor create tokens nor approve command-line logins.
ci_token_restricted CI token restricted. A CI token cannot create or rotate tokens.
csrf_failed CSRF check failed. A cookie-authenticated request that changes state needs the X-CSRF-Token header of the session and a same-origin Origin or Sec-Fetch-Site.
deb_members_unreadable Debian members unreadable. The index of a virtual Debian repository is one for every caller, so reading it needs read without package restriction on every member.
derivation_exceeds_parent Derivation exceeds the presenting token. A token created with a token must not outlive or outrank it.
endpoint_read_only Endpoint is read-only. This endpoint serves content under exposure rules and takes no writes; deploy through the default endpoint.
forbidden Forbidden. The credential is valid but the operation is not permitted.
local_login_disabled Local login disabled. The break-glass account is disabled or has no password configured.
malware_found Malware found. Quader's malware scan found a signature of ClamAV in the stored bytes, and no instance auditor released them. The problem names the signature and the date of the signature database; the response is never cached.
malware_not_checked Not checked for malware. Only checked artifacts can be downloaded here, and the malware scan could not check these bytes (too large, past a limit, encrypted, or the scans failed). An instance auditor can release them on the page Malware under Security audit. The response is never cached.
malware_weakening_refused Malware setting cannot be weakened. The write would switch the repository's setting malware.onlyChecked off. That needs the capability repositories:write-config or vulnerabilities:triage; a project Owner's manageRepositories does not carry it.
non_expiring_restricted Non-expiring token restricted. Only an administrator may create a non-expiring service-account token.
not_admitted Path not admitted. The path does not match the repository's include patterns, or matches an exclude pattern.
not_allowed_in_repository Not allowed in this repository. The delivery rules of the remote repository do not deliver this package or version: a rule blocks it, or the repository delivers only what is allowed. The answer's text says where to ask for it, except through a Bastion, where it says only what was refused and why; a person who may set the repository's rules can allow it.
package_owned_by_other_owner Package owned by another owner. The action is granted, but the package name is owned and the caller is none of its owners and holds no manage on it; an owner or a holder of manage adds the caller as an owner.
pat_not_allowed Personal tokens not allowed. Personal tokens are restricted to members of the configured groups.
populate_not_permitted Populate not permitted. The caller may read the remote repository but not bring new content into its cache: the repository's cacheFillAction is not granted, the request came with the session cookie, or the endpoint does not fill caches. What the cache holds is still served.
project_anchors_disabled Project trust anchors switched off. An administrator has not allowed project owners to add trust anchors for their project (the switch of the admin page Signatures). Stored project anchors stay listed and do not apply.
read_only Read-only. The address serves downloads and accepts no uploads: a Bastion refuses every write, and the detail names no other address.
shadows_remote_package Shadows a remote package. The first publish of this package name into a local repository would replace, for the clients of the virtual repositories that contain it, a package that a remote repository serves. A holder of manage on the package decides that; otherwise a holder of manage claims the name on the repository first. Nothing was stored.
signature_not_verified Signature not verified. The repository serves only artifacts with a verified signature, and no signature of the artifact's publisher or build that a trust anchor of the repository accepts covers it. The member reason says why: missing, untrusted, not_chosen, invalid, blocked or not_checked. The response is never cached.
signature_weakening_refused Signature setting cannot be weakened. The write would switch the repository's setting signatures.onlyVerified off or accept more trust anchors. That needs the capability repositories:write-config or vulnerabilities:triage; a project Owner's manageRepositories does not carry it.
visibility_level_restricted Visibility level restricted. The installation restricts this visibility level to administrators (restrictedLevels of the visibility settings). A level an object already has may be kept and lowered; choosing it anew needs security-settings:write. The problem names the level at its member in errors.
vulnerability_blocked Download blocked by a finding. Quader refuses the version: a malicious-package finding is open, or a triager blocked a finding of it in this repository. The problem names the advisory and the finding; a dismissal lifts it. Through a Bastion it names the advisory alone and links no page. The response is never cached.
vulnerability_data_missing Advisory data missing. The repository sets onMissingData block and the advisory data of the version's ecosystem was never imported completely, so the version cannot be evaluated. The response is never cached.
vulnerability_weakening_refused Vulnerability settings cannot be weakened. The write would switch the scanning of the repository off, stop it matching public advisories, stop blocking malicious versions or stop blocking on missing data. That needs the capability repositories:write-config or vulnerabilities:triage; a project Owner's manageRepositories does not carry it.

404 Not Found

13 codes
Code Title and meaning
catalogue_not_found Not found upstream. The upstream of this remote repository does not have a package of this name. Check the name's spelling as the format writes it.
deb_no_upstream_keys No upstream keys. The remote Debian repository has no deb.upstreamKeys, so it has no public keys to serve.
deb_not_in_release Not in the stored Release. The path is not listed by the stored release document of the remote repository's suite.
not_a_token Not a token. The request is not authenticated by a token.
not_cached_offline Not cached while offline. The remote repository is offline (its own mode or the global switch) and the path is not in its cache; Quader sends no request. A 404, not a 5xx, because the operator decided the item is not available here.
not_found Not found. The resource does not exist or is not visible to the caller.
nuget_v2_unsupported NuGet path not served. The path is no NuGet v3 resource of the repository. NuGet v2 (OData) is not served; the message names the repository's v3 service index, which a client uses as its source URL.
oci_blob_unknown OCI blob unknown. No blob with this digest is stored under this image name of the repository.
oci_blob_upload_unknown OCI blob upload unknown. The upload session does not exist, has expired, is finished, or belongs to another principal, repository or image name.
oci_manifest_unknown OCI manifest unknown. No manifest or tag of this name and reference is stored in the repository.
oci_name_unknown OCI repository or image name unknown. The repository does not exist, is not an OCI repository, or the caller may not see it; the answer is the same for all three.
repository_disabled Repository disabled. The repository is disabled and takes no part in resolution, download or deploy; the management API still works.
repository_not_found Repository not found. No repository has the requested key.

405 Method Not Allowed

3 codes
Code Title and meaning
method_not_allowed Method not allowed. The resource does not support the method; see the Allow header.
no_deploy_target No deploy target. The virtual repository has no default deployment target, so it takes no deploys.
npm_class_not_writable npm repository is not writable. The repository class takes no writes; publish to a local repository or to the deployment target of a virtual repository.

409 Conflict

82 codes
Code Title and meaning
already_delivered Already delivered. The repository's delivery rules deliver this package or version; there is nothing to ask for.
already_exists Already exists. A resource with this key or name exists already.
already_queued Already queued. A download of this version is waiting or running in the repository's queue; the answer names its row.
already_released Already released. A release already passes the blob; withdraw it first to grant another.
already_synced Already kept in sync. The repository keeps this package or sub-section in sync already; the answer names the sync. Remove it and set it up again to change it.
anchor_exists Trust anchor exists. An anchor with this key exists in the scope. Choose another key, or change the existing anchor.
anchor_managed Trust anchor managed. The anchor is shipped with Quader or declared in the Helm configuration: its material cannot be changed or removed through the API. A shipped anchor can only be switched off and on; an anchor of the Helm configuration changes there.
ansible_version_exists Collection version exists. The version is stored in the repository with other bytes. A version is immutable: publish the changed collection under a new version.
ansible_version_tombstoned Collection version deleted. The version was deleted and its number is not accepted again until an administrator clears its tombstone.
auto_join_admin_conflict Auto-join conflicts with an administration role. A group with an administration role binding cannot be an auto-join group.
auto_join_member_conflict Auto-join conflicts with a project membership. A group that is a member of a project cannot be an auto-join group.
bastion_base_url_unknown Bastion base URL unknown. No base URL the Bastion's deployments reported within the last 24 hours is an entry of server.additional_base_urls, or the address asked for is not one of them; add the Bastion's base URL there, and the snippets are rendered on it.
block_exists Signer already blocked. A block of this signer exists. Lift it first to block it with another reason.
break_glass_immutable Break-glass account is immutable. The break-glass account cannot be deleted or renamed through the API; it is set in the Helm configuration.
conflict Conflict. The request conflicts with the current state of the resource.
connection_unavailable Connection unavailable. The connection to the object store is failing on the replica that answered (its circuit is open, or the probe could not be written), so no test link was made. Try again when the connection works; the System page shows its state.
database_repository_invalid Database repository invalid. vulnerabilities.images.database.repository names a repository that does not exist, is not of the format oci, or is virtual; every run of vuln-sync-trivy-db fails until it names a local or remote OCI repository, and the database in use stays in force.
database_repository_off Database repository switched off. The repository the image scanning's database comes from is disabled; every run of vuln-sync-trivy-db fails until it is enabled, and the database in use stays in force.
deb_filename_conflict Debian file name conflict. Another version of the package has the same file name (versions that differ only by their epoch).
deb_key_in_use Signing key known. The fingerprint is known to a repository in some state; a key is never imported twice.
deb_key_state Signing key state. The operation does not apply to a key in this state.
deb_no_next_key No next signing key. The repository has no next signing key to promote.
deb_version_exists Debian package version exists. The package, version and architecture are stored with other bytes. A package file is immutable: delete the file first, or upload the changed package under a new version.
deb_withheld Debian package withheld. A restore's replay withheld these bytes because their deletion was journaled; an administrator reinstates them first.
delivered Delivered. The repository's delivery rules deliver the version, so it is not held for examination and is not discarded. Remove it as any cached item, or block it first.
endpoint_not_configured Endpoint not configured. The endpoint is not in endpoints of the Helm configuration; its exposure rules can be read and deleted, not created or replaced.
exposure_rule_limit_reached Exposure rule limit reached. The endpoint holds 1,000 exposure rules, the most it may hold; delete a rule first.
finding_not_confirmed Finding not confirmed. blocked is set on a confirmed finding only; confirm the finding first.
finding_resolved Finding resolved. The finding is resolved by Quader: no stored version is affected any longer, or the damaged copy was written again, found again or deleted. A person cannot change it; a vulnerability finding returns to its earlier status when the match returns.
generated_item Generated item. The item is generated by Quader from the repository's rows; it is never written, deleted, copied or moved by a client.
idempotency_in_progress Idempotent request in progress. The first request with this Idempotency-Key has not finished. Retry after the Retry-After period; the retry replays its outcome.
issuer_managed_by_configuration Issuer managed by the Helm configuration. The issuer is declared in config.ci.issuers of the Helm configuration and applied by quader migrate; change or remove it there. Its mappings stay writable.
key_ring_incompatible Key ring incompatible. A live replica lacks a key that is active elsewhere or referenced by a sealed value.
last_admin Last administrator. The change would remove the last administrator.
last_owner Last owner. Removing the only owner of a package would leave it without one; add the new owner first, or release the name with release=true (needs manage). The last Owner of a project cannot be removed or demoted either; make another member an Owner first (an administrator of Quader may).
malware_not_enabled Malware scanning off. config.malware.enabled is false in the Helm configuration: no verdict is made, so there is nothing to scan again.
managed_by_config Managed by the Helm configuration. The value is set in the Helm configuration and cannot be changed through the API; change it there.
managed_by_product Managed by the product. The object, or the member, belongs to the product: the project upstream and its repositories are maintained by Quader. Nothing is created, moved or deleted there, and the project holds no members, policies, service accounts or CI mappings. An administrator switches a well-known repository on and off, sets its level, its address and its account through the operations of /api/v1/upstream-repositories, and the settings that narrow what it serves through its document. In a 422 the code stands at each member the request may not change.
managed_by_scim Managed by SCIM. The object is owned by the identity provider and cannot be changed here.
mappings_unpinned Mappings unpinned. The issuer change would leave mappings that pin none of the issuer's pin_claims where the pin rules require one (pin_required on a public issuer, unpinned_write on a private one); the problem lists them in mappings. Pin them, or delete them, first.
mirror_off Mirror off. The remote repository runs in mode pullThrough, so it has no mirror to run. Set remote.mode to mirror first.
mirror_pass_running Mirror pass running. A pass of the repository's mirror is queued or running; the extension job names it. Wait for it to end, or read its job.
mirror_pass_too_soon Mirror pass too soon. The last pass of the mirror ended a short while ago; the extension until names when a pass may be requested again.
mirror_paused Mirror paused. The mirror is paused (remote.mirror.paused); resume it with a PATCH of the repository before requesting a pass.
mirror_rate_limited Mirror rate limited. The upstream asked the mirror to wait and the wait is not over; the extension until names its end. Request the pass again after it.
mirror_repository_invalid Mirror repository invalid. mode repository names a repository that is not a generic local repository; every run fails until the configuration names one.
not_retryable Not retryable. Only a failed or cancelled row of the download queue can be retried; this row is waiting, running or done.
nothing_to_release Nothing to release. The blob's verdict is pending or clean: a release is for infected, unscannable and failed content only.
npm_stale_rev npm revision is stale. Another write changed the package after the document was read; read it again with ?write=true.
npm_version_exists npm version exists. The version was published before. A name and version are never accepted again with other bytes.
npm_version_unpublished npm version unpublished. The version was unpublished and is never accepted again; publish a new version.
nuget_symbol_package_exists NuGet symbol package exists. The version holds a symbol package with other bytes. Symbols must match the binaries of the immutable package, so a symbol package is never replaced: push the package and its symbols under a new version.
nuget_version_deleted NuGet version deleted. The version was removed from the repository and its number is never accepted again, whatever the bytes. Push the package under a new version.
nuget_version_exists NuGet version exists. The version is stored in the repository with other bytes. A version is immutable: push the changed package under a new version.
nuget_version_reserved NuGet version reserved. A restore of a backup reserved the number of this version for the package that was published after the backup's snapshot. Only that package, byte for byte, is accepted; any other build needs a new version.
offline Repository offline. The remote repository is offline (its own mode or the global switch): the upstream catalogue sends no request to its upstream. A document the repository has stored is still shown.
path_conflict Path conflict. A path names a file or a folder, never both: the deploy would put a file below an existing file, or a file or folder where the other kind exists.
priority_taken Priority taken. Another mapping of the same tier has this priority; priorities are unique per tier.
project_not_empty Project not empty. The project still has repositories (also ones being deleted), service accounts or CI mappings; unassign the repositories and delete the accounts and the CI mappings first.
public_not_allowed Public level not allowed. The default endpoint admits no request without a credential (endpoints.default.auth.anonymous is false), so no visibility level can be set to public.
reindex_running Reindex running. A rebuild of the repository's derived metadata is queued or running; the detail names the job.
repository_in_use Repository in use. An object of the project still references the repository: a virtual repository's members, pin rules or deployment target, a project policy, or a CI mapping. Remove the references, then move it.
repository_not_distributed Repository not distributed. The Bastion named for the client setup does not distribute the repository, so it would refuse every read of it; the project's Owner chooses the Bastion in the repository's settings first.
repository_referenced Repository referenced. Virtual repositories list this repository as a member or deploy target; delete with detach=true or remove the references first.
role_binding_managed_by_configuration Role binding managed by the Helm configuration. The binding is declared in config.authz.role_bindings of the Helm configuration and is applied by quader migrate; remove it there.
session_exhausted Upload session exhausted. The upload session sealed as many segments under its data key as one key may; it is aborted. Start the upload again.
signature_limit_reached Signature limit reached. The version holds 16 signatures, the most it takes; remove one first.
signatures_not_enabled Signatures off. config.signatures.enabled is false in the Helm configuration: no signature is detected or checked.
signing_identity_announced Signing identity announced. Another signing identity is announced and becomes current within the announce period; upload or import the next one after the switch.
signing_identity_exists Signing identity exists. The certificate is the certificate of a stored signing identity.
signing_identity_managed Signing identity managed by the Helm configuration. The Helm configuration names Quader's signing identity (signing.identity.existingSecret or signing.identity.certManager): it changes there, and uploads, key requests and removals are refused while it names one.
signing_identity_not_previous Signing identity not previous. Only a previous signing identity can be retired.
signing_identity_pending Signing key pending. A signing key is pending: upload the certificate the CA issued for its request, or discard it first.
signing_key_in_use Signing key in use. The current or the announced signing identity has the same key: retiring this certificate would withdraw nothing. Replace the current identity with one of a new key first.
signing_no_pending_key No signing key pending. No signing key is pending: create a signing key first, then upload the certificate the CA issued for its request.
sync_cancelled Sync run cancelled. An operator cancelled the job of the sync run. It is not counted as a failure of the source; the records written before the cancel stay, and the next run of the ecosystem finishes their alias groups.
sync_running Sync running. The sync's previous run still has downloads that wait or run; the answer names it. Run it again once that run has ended.
technical_token_active Technical token active. The technical token has a live secret; rotate it instead of issuing a new one.
technical_token_limit_reached Technical token limit reached. The service account holds the maximum number of technical tokens, ended ones included; delete one first.
token_already_issued Token already issued. The secret of this request was issued by an earlier identical request and is not shown again.
token_limit_reached Token limit reached. The principal holds the maximum number of active tokens; revoke one first.
upstream_retired Upstream retired. Quader no longer offers this well-known repository, so it is not switched on. A virtual repository that lists it keeps it as a member that takes no part; remove it from the members.

412 Precondition Failed

2 codes
Code Title and meaning
authz_epoch_unknown Authorization epoch unknown. Quader-Authz-Min-Epoch names an epoch the database has not reached. Stop sending that epoch and read the changed object again.
precondition_failed Precondition failed. A conditional request header did not match.

413 Request Entity Too Large

3 codes
Code Title and meaning
npm_too_large npm request too large. A limit of the publish is exceeded (the body, the tarball, the unpacked size, the entry count, the package.json or the compression ratio), or one of an audit body (npm.audit.maxBodySize as sent, ten times that decompressed, the number of names).
oci_size_invalid OCI content too large. The manifest, the blob or the repository's quota exceeds a size limit.
payload_too_large Payload too large. The request body exceeds the permitted size.

415 Unsupported Media Type

1 code
Code Title and meaning
unsupported_media_type Unsupported media type. The request body has a content type the endpoint does not accept.

416 Requested Range Not Satisfiable

2 codes
Code Title and meaning
oci_blob_upload_invalid OCI blob upload out of order. The chunk does not start at the number of bytes the session has received, or another request holds the session; the Range header names the bytes received.
range_not_satisfiable Range not satisfiable. The Range header asks for bytes beyond the end of the file; Content-Range: bytes */<size> says how long it is.

421 Misdirected Request

1 code
Code Title and meaning
misdirected_request Misdirected request. The host of the request is not one this endpoint answers for. Send the request to the endpoint that serves the host, on a new connection.

422 Unprocessable Entity

24 codes
Code Title and meaning
ansible_invalid_archive Invalid collection archive. The upload is not a collection archive Quader accepts: not a gzip-compressed tar archive, a link, a path that leaves the archive, a MANIFEST.json or FILES.json that is missing or inconsistent with the archive, or a bound crossed. The detail names the rule.
ansible_invalid_name Invalid collection name. A namespace or a collection name is 1 to 64 characters of a-z, 0-9 and _, does not start with _ and contains a letter. Upper case is refused, never folded.
ansible_invalid_version Invalid collection version. A collection version is a semantic version 2.0.0 of at most 128 characters.
ansible_path_mismatch Path does not match the archive. The file name of the upload names another collection or version than the archive's MANIFEST.json.
content_refused Content refused. The package content has a structure Quader does not read: duplicate names, link entries, a document type declaration, names two readers would resolve differently, or a document that is not well-formed.
deb_invalid_archive Invalid Debian package archive. The upload is not an ar archive in the layout of deb(5), or a bound of the archive is crossed.
deb_invalid_control Invalid Debian control file. The control file breaks the strict syntax Quader copies into its indexes, or a required field is missing or outside its grammar. The detail names the field.
deb_key_unsupported Unsupported signing key. The key is not an unprotected or passphrase-protected EdDSALegacy (Ed25519) or RSA key of at least 3072 bits that can sign, has no expiry, was not created in the future and has no signing subkeys.
deb_member_unverified Debian member unverified. A remote Debian repository without deb.upstreamKeys cannot be a member of a virtual repository.
deb_mirror_suites_required Mirror suites required. A remote Debian repository in mode mirror names the suites to mirror in deb.mirror.suites.
deb_unsupported_compression Unsupported control archive compression. The control archive is compressed with a method other than none, gzip, xz or zstd.
deb_upstream_keys_required Upstream keys required. A mirror, and a remote that is a member of a virtual repository, needs deb.upstreamKeys.
export_too_large Export too large. The export would exceed vulnerabilities.export.max_rows; narrow the filter.
idempotency_key_reused Idempotency key reused. The Idempotency-Key was used before with another method, route or body. Use a new key for a different request.
invalid_name Invalid name. The name is not a package name of the repository's format. Write it as the format's clients name it; a pattern belongs in a section rule.
invalid_query Invalid search text. The search text is shorter than two characters or longer than 512 characters.
invalid_version Invalid version. The version is not one the repository's format can read. Write it as the format's clients name it; a range is not a version.
principal_not_allowed Principal not allowed. A Bastion registration holds no grant, role, ownership or group membership: it owns Bastion tokens only. Nor can anonymous or authenticated be named in a policy, a role binding, a membership or an owner record: a visibility level opens content to everyone or to every internal user.
reserved_name Reserved name. The name is reserved because a route of the collection uses it as a literal path segment.
signature_invalid Signature invalid. The posted signature is no OpenPGP signature within the bounds, names no issuer fingerprint, or does not match the content it signs.
signing_key_mismatch Certificate for another key. The certificate's public key is not the key of the pending certificate request.
status_not_settable Status not settable. The status resolved is set by Quader only.
too_many_rules Too many rules. The repository holds the most delivery rules it may (proxy.delivery.max_rules), or 100 section rules. Remove rules, or allow a section instead of many packages.
too_many_syncs Too many syncs. The repository keeps as many downloads in sync as it may (proxy.downloads.max_syncs_per_repository). Remove a sync first, or keep a sub-section in sync instead of many packages.

428 Precondition Required

1 code
Code Title and meaning
precondition_required Precondition required. The operation needs an If-Match header carrying the ETag the client loaded, or * to overwrite deliberately.

429 Too Many Requests

7 codes
Code Title and meaning
address_blocked Address blocked. The address was blocked for sending too many refused requests; retry after the Retry-After.
auth_timeout Authentication timeout. Too many failed authentications came from this address; unverified credentials are refused until the Retry-After has passed.
break_glass_locked Break-glass account locked. Too many failed local logins; the account is locked until the Retry-After period has passed or an administrator unlocks it.
catalogue_budget_exhausted Catalogue budget used up. The upstream catalogue's requests of this repository or of this person within the last minute reached their bound, or the upstream rate limits Quader. Try again after the Retry-After period; an answer from the catalogue's cache costs nothing.
download_queue_full Download queue full. The repository's download queue holds as many waiting downloads as it may (proxy.downloads.max_waiting_per_repository). Wait until rows finish, or cancel some.
rate_limited Too many requests. Retry after the period in the Retry-After header.
too_many_requests Too many open requests. You hold the most open requests you may in this repository (proxy.delivery.open_requests_per_person). Withdraw one, or wait for a decision.

500 Internal Server Error

2 codes
Code Title and meaning
internal Internal error. The server failed in a way the client cannot fix. Quote the request ID when reporting it.
sync_panicked Sync run panicked. The sync run stopped on an internal fault of the worker; the log of the worker holds it. The records written before the stop stay; the next run of the ecosystem finishes their alias groups.

501 Not Implemented

8 codes
Code Title and meaning
ansible_not_implemented Ansible Galaxy operation not implemented. The operation is part of the Galaxy API and is not served by this build of Quader yet.
bastion_not_implemented Bastion operation not implemented. The operation is part of the Bastion work and is not built in this release yet.
ci_not_implemented CI operation not implemented. The operation is part of the CI federation and is not built in this release yet.
deb_not_implemented Debian operation not implemented. The operation is part of the Debian repository protocol and is not served by this build of Quader yet.
not_implemented Not implemented. The operation is defined but not implemented by this build of Quader yet.
npm_audit_unavailable npm audit not available. The audit endpoint is not available for this repository: no remote of it forwards, it may not contact its upstream, or the endpoint does not allow it; npm 6's audit endpoints always answer it.
npm_not_implemented npm operation not implemented. The operation is part of the npm protocol and is not implemented by Quader.
nuget_not_implemented NuGet operation not implemented. The operation is part of the NuGet v3 protocol and is not served by this build of Quader yet.

502 Bad Gateway

30 codes
Code Title and meaning
archive_digest_mismatch Advisory archive digest mismatch. The MD5 of the downloaded archive differs from the digest the source announced; the previous data stays in force.
archive_limit Advisory archive refused. The archive is not a valid zip archive, or it crossed a bound of the archive as a whole (entries, declared or inflated size, names); the previous data stays in force.
archive_too_large Advisory archive too large. The advisory archive is larger than its source's max_archive_size (vulnerabilities.sources.osv, or vulnerabilities.images.database for the image scanning's database, whose layer's declared size is checked before it is fetched); the previous data stays in force.
bad_gateway Bad gateway. A Bastion could not get an answer for the request (a connect or TLS error, or an unmarked 5xx of a proxy before the installation it serves); its answer names no party.
catalogue_answer_too_large Upstream answer too large. An answer of the upstream exceeds a bound of the catalogue (the document's size, the time of a call, the entries of a page); the detail names the bound. Quader does not read it for browsing.
database_missing Database not in its repository. The repository the image scanning's database comes from does not hold the image at the tag of this release: a local repository before the push, a remote whose upstream answers 404 or whose patterns refuse the name, or a manifest without a layer of the database's media type. The database in use stays in force.
deb_index_mismatch Index does not match the release. The index file the upstream served does not have the hash and size the stored release names.
deb_release_invalid Invalid upstream release. The upstream's release document is malformed, too old, dated too far ahead or beyond a bound.
deb_upstream_signature_invalid Upstream signature invalid. The upstream's release document is not signed by a key of deb.upstreamKeys that was valid then and now.
egress_denied Egress denied. The address policy of the outbound client refuses the upstream address.
foreign_host_denied Foreign host denied. The upstream document points to a host that is neither the upstream origin nor an entry of the remote repository's extraHosts; Quader did not send a request.
insecure_redirect Insecure redirect. The upstream sent a request from https to http, by a redirect or by a URL in its metadata, which Quader refuses.
npm_invalid_upstream_document Invalid npm upstream document. The upstream package document failed validation and was not stored.
nuget_invalid_upstream_document Invalid NuGet upstream document. The upstream answered a NuGet metadata request (version list, registration index or page) with a document that is not what the request promises. The previous copy, if any, is kept and served.
shrink_refused Advisory data would shrink too much. A full sync would delete more than max_shrink of the stored records; the previous data stays in force. A manual run with acceptShrink overrides it once.
source_network_unavailable Source network unavailable. This replica has no interface address inside the remote repository's sourceNetwork, so it does not connect to the upstream. The failure does not count toward the circuit; another replica may have such an address.
tls_untrusted Upstream certificate not trusted. The upstream's certificate is not signed by a CA in proxy.outbound.tls or does not match the host name. A security event is written; the circuit is not counted.
too_many_invalid_records Too many invalid advisory records. More than 1 % of the records of a full sync failed validation; records that a bound of their own rejects do not count. This indicates a truncated or tampered source; the previous data stays in force.
too_many_redirects Too many redirects. The upstream redirected more often than proxy.max_redirects allows.
upstream_auth_failed Upstream authentication failed. The upstream answered 401 or 403 to the remote repository's credentials. The status is never forwarded; the repository's administrator checks the credential.
upstream_content_type_blocked Upstream content type blocked. The upstream answered with a media type that integrity.blockUnexpectedContentTypes refuses, usually an HTML error page or a captive portal in place of a package.
upstream_digest_missing Upstream digest missing. The repository requires an announced SHA-256 or stronger digest (integrity.checksumPolicy: require) and the upstream's metadata announces none.
upstream_error Upstream error. The upstream answered 500, 502, 503 or 504. A stored copy, if any, is served instead of this error.
upstream_failed Upstream failed. The upstream registry answered with an error or could not be reached.
upstream_integrity_mismatch Upstream integrity mismatch. The fetched artifact does not match the digest the upstream announced. Nothing is stored; a security event is written.
upstream_item_too_large Upstream item too large. The upstream item is larger than the effective maxArtifactBytes or maxMetadataBytes. Nothing is stored and nothing is negatively cached, so raising the limit takes effect at once.
upstream_package_mismatch Upstream served another package. The upstream answered a package request with a .nupkg whose declared ID or version is not the one asked for, or whose archive Quader's reader refuses so that the ID and version cannot be checked. Nothing is stored.
upstream_secret_unavailable Upstream secret unavailable. A secret of the remote repository's upstream configuration cannot be unsealed or resolved on this replica, for example a reference to a file that is missing or a sealed value that was copied from another row. Other repositories are unaffected; the repository's administrator re-enters the secret or fixes the reference.
upstream_unexpected_status Unexpected upstream status. The upstream answered with a status Quader does not act on (another 4xx, or a 3xx without a followable target). Nothing is cached and the circuit is not counted.
upstream_unreachable Upstream unreachable. The connection to the upstream failed (connection, DNS or TLS handshake failure). A stored copy, if any, is served instead of this error.

503 Service Unavailable

23 codes
Code Title and meaning
authz_stale Authorization state not confirmed. The replica could not confirm that its grant index is current within the wait of R-AUTHZ-028; retry after the Retry-After period, the request can succeed on another replica.
bastion_disabled Bastion disabled. An administrator has disabled the Bastion's registration: the main installation answers none of its forwards, checks and catalogue reads until it is enabled again. It concerns the Bastion, not the caller, and the Bastion never passes it on.
break_glass_rotating Break-glass password rotation in progress. The break-glass password was rotated a moment ago; local login resumes after the Retry-After period.
busy Busy. A Bastion's budget of concurrent requests behind it is used up; retry after the Retry-After.
content_unavailable Content unavailable. The stored object of the file is missing (503, retry: it can come back through a restore or a replication) or failed verification (500).
database_timeout Database timeout. A statement exceeded its time limit (statement_timeout or lock_timeout); retry after the Retry-After period.
database_unavailable Database unavailable. PostgreSQL cannot be reached; retry after the Retry-After period.
fetch_queue_timeout Fetch queue timeout. All upstream fetch slots (proxy.max_concurrent_fetches, limits.maxConcurrentFetches) stayed busy for proxy.queue_timeout_seconds. Retry-After is 5 s.
malware_check_pending Malware check pending. Only checked artifacts can be downloaded here, and the bytes are being scanned; retry after the Retry-After period. The response is never cached.
not_ready Not ready. A Bastion's web interface has nothing to show yet: the replica started without a kept state and has not read one. Retry after the Retry-After.
object_store_unavailable Object store unavailable. The S3-compatible object store cannot be reached.
provider_unavailable Login provider unavailable. The identity provider's discovery document could not be loaded yet; retry after the Retry-After period.
server_busy Server busy. The replica is at server.max_in_flight or another concurrency bound; retry after the Retry-After period, the request can succeed on another replica.
shadow_check_unavailable Shadowing check unavailable. Whether a remote repository serves this package name could not be determined, for example because its upstream is unreachable or its circuit is open, and the caller does not hold manage. Retry after the Retry-After period; nothing was stored.
shutting_down Shutting down. The replica is draining; retry on another replica.
signature_check_pending Signature check pending. The repository serves only artifacts with a verified signature, and the artifact's signatures are being checked or fetched; retry after the Retry-After period. The response is never cached.
sync_interrupted Sync run interrupted. The sync run stopped before it ended, for a reason other than a drain, a cancel or a lost lease, such as the timeout of its job. The records written before the stop stay; the next run of the ecosystem finishes their alias groups.
sync_lease_lost Sync lease lost. The worker that ran the sync lost the lease of its job (it could not renew it in time, or the job was ended without it) and stopped the run. The records written before the stop stay; the next run of the ecosystem finishes their alias groups.
too_many_pending_logins Too many pending logins. More login flows are pending than auth.rate_limit.max_pending_flows allows; retry after the Retry-After period.
unavailable Service unavailable. A dependency is temporarily unavailable; retry after the Retry-After period.
upstream_assumed_offline Upstream assumed offline. Consecutive failures opened the circuit of the remote repository's upstream and the path is not cached. Retry-After says when the next probe may close it.
upstream_rate_limited Upstream rate limiting Quader. The upstream answered 429. Retry-After says how long it asked Quader to wait; a stored copy, if any, is served instead of this error.
vulnerability_data_unavailable Advisory data not imported. Quader's advisory data for the ecosystem is not imported yet, so the audit has nothing to answer from; retry after the Retry-After period.

504 Gateway Timeout

3 codes
Code Title and meaning
gateway_timeout Gateway timeout. A Bastion got no answer for the request within its time limit.
not_cached_only_if_cached Not cached. The request carried Cache-Control: only-if-cached and the path is not in the cache (RFC 9111 section 5.2.1.7).
upstream_timeout Upstream timeout. The upstream registry did not answer in time.

507 Insufficient Storage

1 code
Code Title and meaning
insufficient_storage Insufficient storage. A quota or capacity limit prevents the write.

This page is generated from the problem catalog of internal/errs/codes.go by go generate ./internal/manual; change the source, not the page.