Skip to content

API and CLI errors

Look up an API error code or a CLI error message. Every API or CLI error a customer can meet has a page here, at /docs/errors/<code>. Jump to API errors or CLI errors. Build diagnostics are in diagnostics.

The code is the code field of the problem details the API answers.

Code Where Description
validation_failed API 400 Request validation failed
malformed_request API 400 Malformed request
unauthenticated API 401 Authentication required
cross_site_request API 403 Cross-site request refused
workspace_suspended API 403 The workspace is suspended
component_disabled API 403 The component is disabled
captcha_failed API 403 The human check failed
abuse_reports_unavailable API 503 The abuse report channel is temporarily unavailable
insufficient_scope API 403 The credential lacks a required scope
permission_denied API 403 The workspace role does not permit this action
human_action_required API 403 Complete this action in the portal
oauth_consent_required API 403 The workspace and the permissions are not chosen yet
api_key_creation_requires_session API 403 Only a portal session creates API keys
api_key_scope_exceeds_role API 403 The requested scopes exceed the creator's workspace role
user_preferences_require_session API 403 User preferences require a portal session
user_sessions_require_portal API 403 Session management requires a portal session
mfa_reset_needs_support API 409 Taggor support must reset this MFA
mfa_requires_portal API 403 MFA is set up in the portal
mfa_required API 403 A second factor is needed
mfa_invalid_code API 422 The code is not valid
mfa_rate_limited API 429 Too many wrong codes
mfa_already_enabled API 409 MFA is already on
mfa_not_enabled API 409 There is no MFA to use here
session_not_found API 404 Session not found
invitation_role_exceeds_role API 403 The invitation's role is above the sender's own role
member_role_exceeds_role API 403 Your role does not allow changing this member
last_owner_protected API 409 The last owner cannot be removed or demoted
free_workspace_limit API 409 This person already owns a Free workspace
workspace_slug_taken API 409 Another workspace uses this address
workspace_payment_required API 402 The workspace needs a paid plan
former_owner_protected API 409 The former owner cannot be removed or demoted yet
invitation_email_mismatch API 403 The signed-in e-mail is not the one the invitation is for
invitation_requires_session API 403 Only a portal session accepts invitations
invitation_unavailable API 410 The invitation can no longer be accepted
invitation_already_pending API 409 This address already has a pending invitation
invitee_already_member API 409 This address already belongs to a member
invitation_not_pending API 409 The invitation is no longer pending
invitation_quota_exceeded API 429 Too many invitations sent today in this workspace
notification_quota_exceeded API 429 The confirmation could not be requested now
notification_token_invalid API 404 The notification link is not valid
owner_transfer_unavailable API 410 The ownership offer can no longer be accepted
owner_transfer_already_pending API 409 The workspace already has a pending ownership offer
owner_transfer_not_ready API 409 The ownership offer cannot be accepted yet
owner_recently_changed API 409 The workspace changed owner recently
workspace_has_subscription API 409 The workspace still has a subscription
lifecycle_rate_limited API 429 Too many deletion requests or ownership offers today
workspace_deletion_scheduled API 409 The workspace is scheduled for deletion
email_unavailable API 503 The e-mail could not be sent
session_required API 403 This route needs a portal session
invalid_preferences API 422 User preferences are invalid
legal_versions_changed API 409 The legal texts changed while the page was open
legal_acceptance_unavailable API 503 The text to accept cannot be shown right now
invalid_login_state API 400 Invalid or expired login
login_failed API 400 Login failed
identity_provider_unavailable API 503 Sign-in is not available
not_found API 404 Resource not found
method_not_allowed API 405 Method not allowed
unsupported_media_type API 415 Unsupported media type
request_rejected API 400 Request rejected
rate_limited API 429 Too many requests
client_has_sites API 409 The client still has sites
rate_limiter_unavailable API 503 Rate limiting could not be checked
invalid_cursor API 400 Invalid pagination cursor
idempotency_request_in_progress API 409 A request with this idempotency key is in progress
idempotency_key_reused API 422 Idempotency key reused with a different request
build_not_publishable API 409 The build cannot become a version
build_expired API 409 The build is too old to become a version
version_already_exists API 409 The version already exists
invalid_tag_name API 400 The tag name is not a valid custom element name
component_already_exists API 409 The workspace already has a component with this tag
tag_conflict API 409 Two components of the site use the same Custom Element tag
component_archived API 409 The component is archived
version_not_ready API 409 The version's build did not succeed
breaking_change_not_allowed API 409 The version breaks the one in production
no_previous_version API 409 The channel has no earlier version to go back to
channel_moved API 409 The channel no longer points to the version the request expected
site_component_limit API 409 The site already has the most components its plan allows
member_limit_reached API 409 The workspace has no member seat left on its plan
site_props_invalid API 422 The site's props fit no version the site serves
site_props_conflict API 409 The site's props changed since they were read
channel_has_no_version API 409 No environment of the site serves a version of the component yet
plan_limit_reached API 402 The workspace reached a limit of its plan
invalid_webhook_signature API 400 The webhook signature is invalid
billing_conflict API 409 The billing request does not fit the workspace's billing state
billing_unavailable API 503 Billing is temporarily unavailable
usage_unavailable API 503 The usage of the workspace cannot be measured right now
billing_rejected API 502 The payment provider refused the request
retention_exceeds_plan API 422 A collection cannot keep submissions longer than the plan does
api_key_in_use API 409 An API key cannot revoke itself
api_key_quota_exceeded API 409 The workspace reached its limit of active API keys
server_key_limit_reached API 409 This environment of the site already holds its two SSR server keys
semver_bump_too_small API 409 The semver is too small for the manifest changes
breaking_collection_change API 409 The version breaks the schema of a collection that holds data
payload_too_large API 413 The request body is too large
source_package_invalid API 422 The source package is not valid
export_too_large API 422 The export holds too many submissions
build_quota_exceeded API 429 The workspace reached its build limit for the last 7 days
platform_build_capacity API 429 New builds are temporarily paused
database_unavailable API 503 The service could not complete the request
manifest_publish_unavailable API 503 The change was saved but the site manifest is not updated yet
internal_error API 500 Internal server error
configuration_error API 500 The service is unavailable right now

The code is error.code in the output of a command run with --json; each page names the error in plain words.

Code Where Description
api.error CLI The API refused the request
sites.invalidHold CLI The hold is not 1 to 3 seconds
sites.invalidLoading CLI The loading value is not eager or idle
api.network CLI The API cannot be reached
publish.attachFailedAfterVersion CLI The version was created but attaching to the site failed
api.rateLimited CLI Too many requests
auth.notLoggedIn CLI Not logged in
auth.rejected CLI The API rejected the login
auth.forbidden CLI Not allowed
auth.humanActionRequired CLI Complete this action in the portal
cli.usage CLI The command was used wrongly
input.missingFlag CLI A flag is required
agent.noProject CLI No Taggor project here
agent.noBundle CLI This CLI carries no agent files
agent.badTarget CLI Unknown agent
agent.unsafePath CLI Refused to write an agent file
agent.markers CLI The Taggor block markers cannot be read
agent.bundleCorrupt CLI The agent files in this CLI are damaged
publish.noProject CLI No taggor.json found
publish.buildTimeout CLI The build did not finish in time
preview.buildWithSelector CLI --build with --version or --channel
preview.noVersions CLI The component has no version yet
publish.invalidBuild CLI Invalid build id
publish.buildNeedsComponent CLI --build needs exactly one component
publish.buildWithDryRun CLI --build with --dry-run
publish.buildNotFound CLI No such build in this workspace
publish.tagArchived CLI The tag belongs to an archived component
attach.componentArchived CLI The component is archived
data.invalidDate CLI --from or --to is not a date
metrics.versionNeedsComponent CLI A version number needs its component
publish.buildExpired CLI The build expired
preview.versionAndChannel CLI --version and --channel together
preview.channelEmpty CLI No version is assigned to this channel
preview.unavailable CLI The preview link could not be made
pull.versionAndChannel CLI --version and --channel together
pull.noVersions CLI The component has no version to pull
pull.channelEmpty CLI No version is assigned to this channel
pull.hashMismatch CLI The downloaded source does not match its hash
pull.noHash CLI The API sent the source without its hash
pull.tooLarge CLI The source package is over the size limit
pull.packageRefused CLI The downloaded source was refused
pull.secrets CLI The downloaded source holds a credential
init.needsLogin CLI Sign in before initializing a project
workspace.noneSelected CLI No workspace is selected
workspace.updateNothing CLI Nothing to change in the workspace
pull.notEmpty CLI The folder is not empty
pull.localChanges CLI A component has changes that were never published
pull.noComponents CLI This workspace has no components
pull.nothingToPull CLI Nothing was pulled
pull.versionNeedsComponent CLI A version belongs to one component
projects.invalidDays CLI Invalid --older-than
projects.unsafeName CLI Not a project folder of Taggor
login.expired CLI The login code expired
login.denied CLI The login was denied
init.renamedProjectKey CLI taggor.json uses an older name for its component list
props.invalidName CLI Not a prop name
protection.invalidSuspects CLI Unknown choice for suspect submissions
protection.invalidDailyCap CLI The daily cap is not a whole number
protection.nothingToSet CLI Nothing to change
protection.aboveCeiling CLI The daily cap is above the platform's ceiling
data.outExists CLI The export file already exists
data.outUnsafe CLI The export file is a link or not a regular file
data.outFailed CLI Could not write the export file
serverkeys.secretDestination CLI Say where the new server key's secret goes
serverkeys.invalidKeyId CLI Not a server key id
serverkeys.limitReached CLI That environment of the site already has two server keys
serverkeys.unexpectedAnswer CLI The API did not answer a valid server key
serverkeys.outExists CLI The secret file already exists
serverkeys.outUnsafe CLI The secret file is a link or not a regular file
serverkeys.outFailed CLI Could not write the secret file
serverkeys.notSavedRevoked CLI The secret could not be saved, so the new key was revoked
serverkeys.notSavedKept CLI The secret could not be saved and the new key is still active
build.quotaExceeded CLI The workspace reached its build limit for the last 7 days
build.platformFuse CLI New builds are temporarily paused
props.invalidKind CLI Unknown way to read the value
props.invalidValue CLI Value does not match the requested type
props.notAttached CLI The component is not attached to the site
sites.nothingToUpdate CLI Nothing to update
channels.reasonTooLong CLI --reason is too long
props.conflict CLI The site's props kept changing
props.noVersion CLI No environment of the site serves a version yet
props.unknownProp CLI The component has no prop with that name
props.noProps CLI The component declares no props
sites.environmentRequired CLI Say which environment of the site
sites.environmentMismatch CLI The site key and --environment name different environments
pin.versionRequired CLI Say which version to pin
pin.versionNotFound CLI The component has no such version
publish.lockMissing CLI No package-lock.json for the npm packages
pin.notAttached CLI The component is not attached to the site
pin.versionNotReady CLI The version is not ready to serve yet
props.invalid CLI The API refused the prop value
codegen.invalidTarget CLI Unknown codegen target
codegen.dirRequired CLI Say where the generated files go
codegen.noComponents CLI The environment serves no component
codegen.manifestInvalid CLI The CLI cannot read the component's manifest
codegen.outdated CLI The generated files are out of date
codegen.foreignFiles CLI A file of yours is where a generated file goes
config.invalidApiUrl CLI Invalid API URL