Skip to main content

Error codes

Every failed request returns a stable string code (for example NOT_FOUND) alongside the HTTP status. Branch on code; show message to people. Each error body's type links to the code's entry on this page. See Errors & Status Codes for the response shape.

New codes can appear at any time, so treat an unknown code by its HTTP status.

400 Bad Request​

AGREEMENT_AUTHORITY_NOT_CONFIRMED​

Signing authority not confirmed

Agreements can only be accepted by someone who may bind the organization. Set authorizedToBind to true to confirm it.

Message: authorizedToBind must be true: only someone who may bind the organization can accept its agreements.

AGREEMENT_BODY_REQUIRED​

Agreement body required

A draft needs the agreement text. Send it in body.

Message: body is required

AGREEMENT_CLIENT_IP_UNKNOWN​

Client IP unknown

An acceptance records the signer's IP address, and none could be read from the request. Send the request directly or through a proxy that forwards the client address.

Message: The client IP address could not be determined.

AGREEMENT_DOCUMENT_DUPLICATE​

Agreement listed twice

Each agreement type can appear once in an acceptance. Remove the repeated entry.

Message: {documentType} is listed more than once

AGREEMENT_DOCUMENT_ID_REQUIRED​

Agreement version id required

The request names no agreement version. Send the version's agreementDocumentId.

Message: agreementDocumentId is required

AGREEMENT_DOCUMENT_INCOMPLETE​

Accepted agreement incomplete

Every entry in documents needs its documentType and the contentHash of the text the signer saw.

Message: Each document needs documentType and contentHash

AGREEMENT_DOCUMENT_TYPE_REQUIRED​

Agreement type required

A new draft needs the agreement type it drafts. Send documentType.

Message: documentType is required

AGREEMENT_DOCUMENTS_REQUIRED​

No agreements listed

The acceptance names no agreements. List each accepted agreement with its documentType and contentHash.

Message: documents must list at least one agreement

AGREEMENT_DRAFT_STATUS_NOT_ALLOWED​

Cannot return to draft

A published or retired version never becomes a draft again. Create a new draft instead.

Message: A document cannot be moved back to DRAFT.

AGREEMENT_EFFECTIVE_DATE_REQUIRED​

Effective date required

A draft needs the date it takes effect once published. Send effectiveDate.

Message: effectiveDate is required

AGREEMENT_EFFECTIVE_DATE_TOO_EARLY​

Effective date too early

A new version cannot take effect before the version in force did. Set the draft's effectiveDate on or after that date.

Message: The effective date cannot be earlier than the version in force ({inForceEffectiveDate}).

AGREEMENT_EXEMPTION_ORGANIZATION_REQUIRED​

Exemption organization required

An exemption belongs to one organization. Send the organization's id.

Message: organizationId is required

AGREEMENT_EXEMPTION_REFERENCE_REQUIRED​

Exemption reference required

An exemption records where the organization's contract lives, such as a signed order form. Send it in reference.

Message: reference is required

AGREEMENT_EXPECTED_HASH_REQUIRED​

Expected hash required

Publishing needs the contentHash of the draft the admin reviewed. Send it as expectedHash.

Message: expectedHash is required to publish a draft.

AGREEMENT_SIGNER_NAME_REQUIRED​

Signer name required

An acceptance records who signed it. Send the signer's full name in signerName.

Message: signerName is required

AGREEMENT_SIGNER_TITLE_REQUIRED​

Signer title required

An acceptance records the signer's role. Send the signer's job title in signerTitle.

Message: signerTitle is required

AGREEMENT_VERSION_LABEL_REQUIRED​

Version label required

A draft needs a label, such as 2.1, that admins and signers see. Send versionLabel.

Message: versionLabel is required

AUTH_ENVIRONMENT_CONTEXT_REQUIRED​

Environment context required

This endpoint works on one environment, and the credential is not bound to one. Select an environment, or call with an API key or token bound to an environment.

Message: Organization environment context required

AWS_MARKETPLACE_TOKEN_INVALID​

AWS sign-up link expired

AWS could not confirm this sign-up. Open Loom Loyalty from your AWS Marketplace subscription again.

Message: The AWS Marketplace registration token is invalid or expired

BAD_REQUEST​

Bad request

The body is not valid JSON or the request is malformed. Check the body against the API reference.

Message: The request could not be read.

BATCH_ENABLE_NO_VALID_ENTITY_IDS​

No valid entity ids

Every value in entityIds must be an entity's id (prefixed or a raw UUID), not its code. Send the ids of the records to enable.

Message: None of the batch's entity ids is a valid id: {entityIds}

COUPON_DISCOUNT_CURRENCY_TYPE_NOT_RESOLVED​

Discount currency not found

The discountCurrencyTypeCode does not name a fiat currency type in this environment. Use a configured currency type code.

Message: Entity of type 'FiatCurrencyType' and identifier '{discountCurrencyTypeCode}' unable to be resolved

COUPON_DISCOUNT_CURRENCY_TYPE_REQUIRED​

Discount currency required

A coupon needs the currency its discount is paid in. Send discountCurrencyTypeCode.

Message: discountCurrencyTypeCode is required

COUPON_OFFER_NOT_COUPON_TYPE​

Offer is not a coupon offer

Coupons can only belong to an offer of type COUPON. Choose a coupon offer for the offerId.

Message: Offer is not a Coupon Offer

COUPON_OFFER_NOT_RESOLVED​

Coupon offer not resolved

The offerId in the request does not name an offer in this environment. Create the coupon offer first or fix the offerId.

Message: Entity of type 'CouponOffer' and identifier '{offerId}' unable to be resolved

CUSTOMER_AUDIENCE_COMPOSITE_CYCLE​

Circular composite segment

A composite segment can't include itself, directly or through other composite segments. Remove the segment that leads back to this one from composedOf.

Message: composedOf would create a circular reference between composite segments

CUSTOMER_AUDIENCE_COMPOSITE_EXPRESSION_NOT_ALLOWED​

Composite segment can't have an expression

A COMPOSITE segment's members come from its composedOf segments, not from an expression. Leave segmentExpression out.

Message: COMPOSITE segments must not have a segmentExpression

CUSTOMER_AUDIENCE_COMPOSITE_REFERENCES_REQUIRED​

Composite segment needs components

A COMPOSITE segment is built from other segments. List at least one segment in composedOf.

Message: COMPOSITE segments require at least one segment reference in composedOf

CUSTOMER_AUDIENCE_HISTORY_WINDOW_NOT_ENABLED​

Event history windows not enabled

The expression uses event history windows or comparisons, which this Loom Loyalty environment does not have yet. Use windowDays, minCount or minSum instead.

Message: Invalid segment expression: window and comparison on eventCount, eventSum, eventExists and lastEventTime can't be saved until rule history is enabled; use windowDays, minCount or minSum

CUSTOMER_AUDIENCE_LIST_QUERY_NOT_SUPPORTED​

Not available for customer lists

Member counts, member lists and membership checks on this path work for segments only. For a customer list, use the customer audience memberships endpoint.

Message: {operation} for customer lists is available via /customer-audience-memberships/{customerAudienceId}

CUSTOMER_AUDIENCE_NOT_A_SEGMENT​

Audience is not a segment

Overlap and intersect work on segments only, and one of the audiences is a customer list. Choose segment audiences.

Message: Audience '{customerAudienceCode}' is not a segment. Overlap and intersect operations require segments.

CUSTOMER_AUDIENCE_PREVIEW_TOO_COMPLEX​

Expression too complex to preview

The expression's estimated cost is above the preview limit. Simplify it, or split it into smaller segments and combine them with a composite segment.

Message: Expression too complex for preview (cost score: {costScore}, max: {maxCostScore}). Simplify the expression or break it into smaller segments.

CUSTOMER_AUDIENCE_PUBLISH_FLAG_REQUIRED​

Publish flag required

Publishing a segment version needs the publish=true query parameter. Add it to the request.

Message: PUT on versions requires ?publish=true

CUSTOMER_AUDIENCE_REFERENCE_REQUIRED​

Customer audience required

Adding a customer to an audience or removing one needs the audience. Send customerAudienceId or customerAudienceCode.

Message: Either customerAudienceId or customerAudienceCode must be provided

CUSTOMER_AUDIENCE_SEGMENT_EXPRESSION_INVALID​

Invalid segment expression

The segment expression is malformed, or uses a field or operator segments don't support. Check the expression against the segment expression reference.

Message: Invalid segment expression: {reason}

CUSTOMER_CASE_CLAIM_INVALID​

Invalid missing points claim

A missing points case needs a claim with a purchase date, a location and an amount. Other case types take no claim.

Message: The missing points claim is invalid: {reason}

CUSTOMER_CASE_CLAIM_OUTSIDE_WINDOW​

Purchase too old to claim

Missing points can be claimed only for a purchase within the claim window set on the missing-points case type, and not for a future date.

Message: The purchase date '{purchaseDate}' is outside the {claimWindowDays}-day claim window

CUSTOMER_CASE_SOURCE_INVALID​

Invalid case source

Staff and API callers open cases as STAFF or API. PORTAL cases are opened only by a signed-in member.

Message: Case source '{source}' can't be set by this caller

CUSTOMER_CASE_TYPE_INACTIVE​

Case type retired

A retired case type can't be chosen for a new case or a type change. Reactivate it, or choose an active type.

Message: Customer case type '{caseTypeCode}' is retired

CUSTOMER_CASE_TYPE_SYSTEM_RETIRE​

System case type can't be retired

MISSING_POINTS is always available to members. It can be renamed and its settings changed, but not retired.

Message: The system case type '{code}' can't be retired

Invalid consent source

Staff and API callers record consent as STAFF, API or IMPORT, and must say which. PORTAL consent is recorded only by a signed-in member.

Message: Consent source must be STAFF, API or IMPORT for this caller

CUSTOMER_CONSOLIDATION_ENVIRONMENT_MISMATCH​

Customer in another environment

Both customers in a consolidation must belong to the environment the request is made in.

Message: {role} customer does not belong to the current environment

CUSTOMER_CONSOLIDATION_MODE_NOT_ENABLED​

Consolidation mode not enabled

Only REPLAY consolidations are available for this environment. Leave mode out, or send REPLAY.

Message: Consolidation mode {mode} is not enabled

CUSTOMER_CONSOLIDATION_SELF​

Customer merged into itself

The surviving customer and the customer being merged are the same. Choose two different customers.

Message: Cannot consolidate a customer with itself

CUSTOMER_COUPON_ISSUE_CRITERIA_MISSING​

Coupon to issue not named

Issuing a coupon needs one of couponId, couponCode, couponOfferId or couponOfferCode. Send one of them.

Message: No coupon assignment criteria provided. Must specify couponId, couponCode, couponOfferId, or couponOfferCode

CUSTOMER_COUPON_OFFER_NOT_COUPON_TYPE​

Offer is not a coupon offer

The couponOfferId names an offer that is not a coupon offer. Use the id of a coupon offer.

Message: Offer {offerId} is not a CouponOffer

CUSTOMER_COUPON_USE_LOOKUP_MISSING​

Coupon use not named

Updating a coupon use needs customerCouponUseId, couponCode or couponUseReferenceId to find it. Send one of them.

Message: No valid lookup criteria provided: specify customerCouponUseId, couponCode, or couponUseReferenceId

CUSTOMER_COUPON_USE_PORTAL_STATUS_NOT_ALLOWED​

Status not allowed for portal members

A rewards portal member can only mark their own coupon used. Send status USE, or leave it out; holds and returns are staff-only.

Message: Portal members may only mark a coupon USE, not {status}

CUSTOMER_COUPON_USE_REFERENCE_ONLY​

Coupon not named

A new hold or use must name the coupon. Send customerCouponId or couponCode with the couponUseReferenceId.

Message: Cannot create new coupon use with only couponUseReferenceId. Provide customerCouponId or couponCode.

CUSTOMER_COUPON_USE_TARGET_MISSING​

Coupon not named

A coupon use needs customerCouponId, couponCode or couponUseReferenceId to find the coupon. Send one of them.

Message: The coupon use must provide customerCouponId, couponCode, or couponUseReferenceId

CUSTOMER_DATA_INVALID​

Customer data invalid

One or more customer fields fail the rules of the customer data model. The errors list names each failing field and the rule it breaks.

Message: The customer data does not match the customer data model.

CUSTOMER_EMAIL_ADDRESS_RESERVED​

Email address reserved

This domain stands in for a phone-only rewards portal member and can never receive mail. Use the customer's real email address, or leave the email out.

Message: Email addresses at {domain} are reserved and cannot be stored on a customer

CUSTOMER_EXTERNAL_OFFER_CRITERIA_MISSING​

Offer to issue not named

Issuing an external offer needs offerId or offerCode. Send one of them.

Message: No offer identification criteria provided. Must specify offerId or offerCode

CUSTOMER_EXTERNAL_OFFER_NOT_EXTERNAL_TYPE​

Offer is not an external offer

The offer named in the request is not an external offer. Use the id or code of an external offer.

Message: Offer {offerId} is not an ExternalOffer

CUSTOMER_FILTER_INVALID​

Invalid customer filter

The customer list filter combines values that can't be used together, such as an identifier without its identifier type. Correct the filter and send it again.

Message: Invalid customer request

CUSTOMER_FRAUD_SETTINGS_THRESHOLDS_INVALID​

Fraud thresholds out of order

Every blocked customer also has a case, so the case threshold must be at or below the block threshold. Send both values, or change one so the case threshold is not higher.

Message: The case threshold {caseThreshold} is above the block threshold {blockThreshold}

CUSTOMER_GROUP_CYCLE​

Group hierarchy cycle

A group can't sit under one of its own descendants. Move the descendant first, or choose another parent.

Message: Group '{parentCustomerGroupId}' is below group '{customerGroupId}', so it can't be its parent

CUSTOMER_GROUP_DEPTH_EXCEEDED​

Group tree too deep

Group trees go at most 4 levels deep, counting the group's own children. Choose a parent higher in the tree.

Message: The group tree would be {depth} levels deep; the most is {maxDepth}

CUSTOMER_GROUP_PARENT_INVALID​

Parent group not found

The parent must be an existing group in the same organization and environment, and not the group itself.

Message: Parent group '{parentCustomerGroupId}' not found

CUSTOMER_GROUP_POLICY_UNSUPPORTED​

Policy setting not supported

Phase 1 supports onLeave POINTS_STAY, onDissolve TO_OWNER, redeemers OWNER_AND_GRANTED, sameAddressRequired false and tierMode INDIVIDUAL. Leave the setting out or use a supported value.

Message: Group policy {setting} '{value}' isn't supported yet

CUSTOMER_GROUP_TYPE_CHANGE_REFUSED​

Group type can't change

A group keeps the type it was created with. Create a new group of the other type and move the members.

Message: A group's type can't change (from '{currentTypeCode}' to '{typeCode}')

CUSTOMER_GROUP_TYPE_NOT_FOUND​

Group type not found

Group types are CUSTOMER_GROUP_TYPE metadata. Create the type first, or check its code.

Message: Customer group type '{typeCode}' not found

CUSTOMER_OFFER_AUDIENCE_NOT_ELIGIBLE​

Customer not in offer audience

The offer is limited to a customer audience the customer is not a member of. Issue it to a member of that audience or change the offer's audience.

Message: Entity is not in the required customer audience for this offer

CUSTOMER_PAGE_SIZE_TOO_LARGE​

Page size too large

Customer lists return at most 50 customers per page. Ask for a smaller page size and page through the results.

Message: Page size cannot be greater than 50

CUSTOMER_PORTAL_PHONE_NUMBER_UNSUPPORTED​

Phone number not supported

Rewards portal SMS login supports US and Canadian mobile numbers, written like +15551234567. Use such a number, or sign in with email.

Message: Login codes can only be texted to US and Canadian (+1) numbers in E.164 form

CUSTOMER_PORTAL_UPDATE_FIELD_NOT_ALLOWED​

Field not editable by portal members

A rewards portal member changing their own record can only change identity, postal addresses, phone numbers, email addresses and preferred language. Leave the other fields out.

Message: Portal members may only update identity, postalAddresses, phoneNumbers, emailAddresses, and preferredLanguage

CUSTOMER_PREFERRED_LANGUAGE_INVALID​

Preferred language not supported

Send a language tag such as en, es or es-MX; only its language is stored. Leave preferredLanguage out to keep the stored value.

Message: preferredLanguage must be a language tag in a supported language: {supported}

CUSTOMER_PROGRAM_ACCOUNT_EXTERNAL_ID_REQUIRED​

Program account id required

This program expects the caller to supply each member's account id. Send programAccountExternalId.

Message: Program account external ID is required for provided program account type

CUSTOMER_PROGRAM_REFERENCE_REQUIRED​

Program required

A program membership needs the program it belongs to. Send programCode or programId.

Message: Program code or ID is required

CUSTOMER_REFERENCE_UNRESOLVED​

Reference not resolved

The request names a code or id (for example a status, type, country or program) that does not exist in this environment. Use one of the configured values.

Message: Entity of type '{entityType}' and identifier '{identifier}' unable to be resolved

CUSTOMER_REFERRAL_CODE_INACTIVE​

Referral code no longer usable

The member who owns this referral code is no longer active in the program, so the code can't be used. Create the customer without it.

Message: Referral code {referralCode} can no longer be used: its member is not active

CUSTOMER_REFERRAL_CODE_UNKNOWN​

Referral code not recognized

No member holds this referral code in this environment. Check the code for typing mistakes, or create the customer without it.

Message: Referral code {referralCode} does not exist

CUSTOMER_REFERRAL_CODE_UPDATE_NOT_ALLOWED​

Referral code can't be changed

A referral code can only be given when the customer is created. Leave referralCode out of the update.

Message: referralCode is accepted only when a customer is created

CUSTOMER_STATUS_BADGE_TYPE_UNRESOLVED​

Badge type not resolved

The request names a badge type code that does not exist in this environment. Use one of the configured badge types.

Message: Entity of type 'BadgeType' and identifier '{typeCode}' unable to be resolved

CUSTOMER_WALLET_PASS_FIELD_MISSING​

Wallet pass field missing

A wallet pass needs a pass type identifier, a serial number and an authentication token. Send the missing value.

Message: Wallet pass is missing {fieldName}

CUSTOMER_WALLET_PASS_TOKEN_TOO_SHORT​

Wallet pass token too short

The pass authentication token is shorter than the minimum length. Generate a longer random token.

Message: Wallet pass authenticationToken is too short

DATA_MODEL_DATA_INVALID​

Data does not match the data model

One or more values fail the rules of the data model they are validated against. The errors list names each failing value and the rule it breaks.

Message: The data does not match its data model.

DATA_MODEL_ELEMENT_ENTITY_ID_EXAMPLE_INVALID​

Invalid entity id example

An ENTITY_ID element's example must be a prefix, an underscore and 32 hexadecimal characters. Fix the example or leave it out.

Message: {field} '{example}' does not match the required ENTITY_ID format (prefix_32hexchars)

DATA_MODEL_ELEMENT_METADATA_TYPE_CATEGORY_INVALID​

Invalid metadata type category

The metadata type category is not one Loom Loyalty knows. Use one of the values the message lists.

Message: Invalid metadataTypeCategory: {metadataTypeCategory}. Valid values: {validValues}

DATA_MODEL_ELEMENT_METADATA_TYPE_CATEGORY_REQUIRED​

Metadata type category required

An element tagged with a metadata type must also name its metadata type category. Send both fields, or neither.

Message: metadataTypeCategory is required when metadataType is set

DATA_MODEL_ELEMENT_METADATA_TYPE_REQUIRED​

Metadata type required

An element with a metadata type category must also name its metadata type. Send both fields, or neither.

Message: metadataType is required when metadataTypeCategory is set

DATA_MODEL_ELEMENT_METRIC_ROLE_NOT_NUMERIC​

Metric role needs a numeric element

A metric role (revenue, cost or margin) is summed as a financial value, so it can only be set on an INTEGER or NUMBER element. Change the element's type or remove the metric role.

Message: metricRole ({metricRole}) requires a numeric attribute type (INTEGER or NUMBER), but typeCode is {typeCode}

DATA_MODEL_PACKAGE_ELEMENT_TYPE_REQUIRED​

Package data model element has no type

An element of a data model template in the package has no type. Fix the package definition.

Message: Package data model {code} element {element} has no type

DATA_MODEL_PACKAGE_NO_TEMPLATES​

Package declares no data models

The package was asked to apply data models but declares none. Check the package definition.

Message: Package {packageCode} declares no data model templates

DATA_MODEL_PACKAGE_TEMPLATE_DUPLICATE​

Package data model template declared twice

The package declares two data model templates with the same type code. Remove one of them from the package definition.

Message: Package data model template {code} is declared twice

DATA_MODEL_PACKAGE_TEMPLATE_TYPE_CODE_REQUIRED​

Package data model template has no type code

A data model template in the package has no type code. Fix the package definition.

Message: Every package data model template needs a type code

DATA_MODEL_PACKAGE_TEMPLATES_REQUIRED​

Package data model templates missing

The package install sent no data model template data. Check the package definition and install it again.

Message: Package data model templates are required

DATA_MODEL_PACKAGE_WRONG_PACKAGE​

Package data models applied by another package

A package's data model templates can only be applied while installing that same package. Install the package that declares them.

Message: Package data models must be applied by their own package

DATA_MODEL_PUBLISH_REFERENCE_MISSING​

Referenced data model missing

The data model refers to another data model that does not exist in any version. Create that data model, or remove the reference, and publish again.

Message: Cannot publish: referenced DataModel with code '{referenceCode}' does not exist

DATA_MODEL_SYSTEM_TYPE_RESERVED​

System data model type

The type code names a Loom Loyalty system or primitive data model, which cannot be created or changed through this endpoint. Use a type code of your own.

Message: Cannot update system unmodifiable or primitive data model

DATA_MODEL_TYPE_CODE_RESERVED​

Data model type code is reserved

The code is used by a Loom Loyalty system or primitive data model type. Choose a different code.

Message: Cannot create a data model type with a reserved system or primitive code

DATA_MODEL_TYPE_RENAME_RESERVED​

Data model type code is reserved

The new code is used by a Loom Loyalty system or primitive data model type. Choose a different code.

Message: Cannot rename a data model type to a reserved system or primitive code

DATA_MODEL_TYPE_UNRESOLVED​

Data model type not resolved

The request or payload refers to a data model type code that does not exist in this organization. Create the data model first, or fix the type code.

Message: Entity of type 'DataModelType' and identifier '{typeCode}' unable to be resolved

DELEGATED_TOKEN_GRANT_TYPE_UNSUPPORTED​

Unsupported grant type

Token exchange accepts only the token-exchange grant type. Send grantType urn:ietf:params:oauth:grant-type:token-exchange.

Message: Unsupported grant_type; expected urn:ietf:params:oauth:grant-type:token-exchange

DELEGATED_TOKEN_NO_DELEGATABLE_SCOPES​

No delegatable scopes

The user holds none of the scopes the AI bot may use, or none of the requested scopes. Give the user a role with the scopes the bot needs, or widen the requested scopes.

Message: No delegatable scopes: the subject has no effective scopes in this organization that the bot is also permitted to exercise

DELEGATED_TOKEN_SUBJECT_TOKEN_INVALID​

Invalid Connect token

The Connect token is expired, signed by an unknown key, issued for another audience, or names a user or tenant Loom Loyalty cannot resolve. Sign in to the MCP server again.

Message: invalid_grant: the Connect subject token is not valid here

DELEGATED_TOKEN_SUBJECT_TOKEN_TYPE_UNSUPPORTED​

Unsupported subject token type

Token exchange accepts an access-token subject or a Connect token. Leave subjectTokenType out, or send urn:ietf:params:oauth:token-type:access_token or urn:ietf:params:oauth:token-type:jwt.

Message: Unsupported subject_token_type; expected urn:ietf:params:oauth:token-type:access_token or urn:ietf:params:oauth:token-type:jwt

DELEGATED_TOKEN_TRANSPORT_MISMATCH​

Transport does not match the subject token

Send transport mcp with subjectTokenType urn:ietf:params:oauth:token-type:jwt, or slack or teams with an access-token subject.

Message: transport mcp goes with a Connect subject token, and slack or teams with an access-token subject

DEMO_RECORDING_FIELD_TOO_LARGE​

Demo recording field too large

Each summary and report on a demo recording is limited to 1MB once serialized. Trim the field the message names.

Message: {fieldName} exceeds maximum size of 1MB (actual: {actualSize} bytes)

DEMO_RECORDING_PROGRAM_SUMMARY_REQUIRED​

Program summary required

A demo recording needs the summary of the program it demonstrates. Send programSummary.

Message: programSummary must not be null

DEVICE_CLAIM_CODE_INVALID​

Invalid confirmation code

The confirmation code shown on the device is wrong or has expired. Restart pairing on the device and enter the new code.

Message: The confirmation code is invalid or expired

DEVICE_LOCATION_UNRESOLVED​

Device location not resolved

The location in the request does not exist in the organization and environment. Check the location code or id, or create the location first.

Message: Entity of type 'Location' and identifier '{location}' not found

DLQ_OPERATOR_REQUIRED​

DLQ operator required

DLQ admin actions are recorded against the person who made them, so they need a signed-in user rather than an API key or service token. Sign in as a platform admin and try again.

Message: A signed-in user is required to {action}

DLQ_RECORD_NOT_REPLAYABLE​

DLQ record not replayable

The record cannot be re-published, for example because it is on a view-only topic or its payload was not kept whole. Leave it out of the replay and fix its effect another way.

Message: DLQ record '{dlqEventId}' is not replayable: {reason}

DLQ_REOPEN_REASON_REQUIRED​

Reopen reason required

Reopening a DLQ record is audited, so it needs a reason. Send a non-blank reason.

Message: A reason is required to reopen a DLQ record

DLQ_REPLAY_GROUP_MISMATCH​

Replay group mismatch

A record that failed in a known consumer group is replayed only to that group. Leave targetGroup out, or set allGroups.

Message: DLQ record '{dlqEventId}' failed in consumer group '{consumerGroup}'; a targeted replay goes only to that group. Omit targetGroup for it, or set allGroups

DLQ_REPLAY_GROUP_NOT_TARGETABLE​

Replay group not targetable

The named group does not consume the record's topic, or cannot be targeted. Use one of the groups listed.

Message: '{targetGroup}' is not a targetable consumer group on topic '{topic}'. Groups on the topic: {groups}

DLQ_REPLAY_GROUP_REQUIRED​

Replay group required

The record has no usable consumer group of its own. Name a targetGroup from the groups listed, or set allGroups.

Message: DLQ record '{dlqEventId}' {problem}; name a targetGroup that consumes '{topic}', or set allGroups. Groups on the topic: {groups}

DLQ_REPLAY_NO_CONSUMER_GROUP​

No consumer group on topic

Nothing consumes the record's original topic any more, so a replay to all groups would deliver nowhere. Leave the record out of the replay.

Message: No consumer group consumes topic '{topic}', so a replay of DLQ record '{dlqEventId}' would reach nothing

DLQ_REPLAY_RECORD_DUPLICATED​

DLQ record named twice

A replay publishes each record once, so an id may appear only once. Remove the repeated id.

Message: DLQ record '{dlqEventId}' is named twice

DLQ_REPLAY_RECORD_ID_MISSING​

DLQ record id missing

dlqEventIds holds a null entry. Send only record ids.

Message: A DLQ record id is missing

DLQ_REPLAY_RECORDS_REQUIRED​

DLQ records required

A dry run or replay needs at least one record id. Send the ids in dlqEventIds.

Message: Name at least one DLQ record

DLQ_REPLAY_REQUEST_REQUIRED​

Replay request required

The replay call needs a body with the record ids and the dry-run token. Send the replay request.

Message: A replay request is required

DLQ_REPLAY_TARGET_AMBIGUOUS​

Replay target ambiguous

A replay goes either to one named consumer group or to every group on the topic. Send targetGroup or allGroups, not both.

Message: Set either targetGroup or allGroups, not both

DLQ_REPLAY_TOKEN_EXPIRED​

Replay token expired

A dry-run token is valid for a few minutes. Run a new dry run and replay with its token.

Message: This replay token expired at {expiresDateTime}; run a new dry run

DLQ_REPLAY_TOKEN_INVALID​

Replay token not valid

No dry run issued this token. Run a dry run for the records and send the token it returns.

Message: This replay token is not valid; run a dry run first

DLQ_REPLAY_TOKEN_REQUIRED​

Dry-run token required

A replay must name the token its dry run returned. Run a dry run and send its token.

Message: A dry-run token is required to replay

DLQ_REPLAY_TOKEN_STALE​

Replay token does not match

The token is bound to the exact records and options of its dry run. Replay with the same request, or run a new dry run.

Message: This replay token was issued for different records or options, or a record changed since its dry run; run a new dry run

DLQ_REPLAY_TOO_MANY_RECORDS​

Too many DLQ records

A dry run or replay has a cap on its record count. Split the records over several replays.

Message: A replay carries at most {maxRecords} records

DLQ_RESOLVE_REASON_REQUIRED​

Resolve reason required

Resolving a DLQ record is audited, so it needs a reason. Send a non-blank reason.

Message: A reason is required to resolve a DLQ record

DLQ_SORT_INVALID​

DLQ sort invalid

The sort parameter is malformed. Send one or more field:asc or field:desc pairs, separated by commas.

Message: {reason}

ENTITY_TARGET_AMOUNT_NOT_POSITIVE​

Amount not positive

Starting a new counter cycle needs a positive amount. Send an amount greater than zero.

Message: Cannot add empty, zero or negative amount to a new counter cycle

ENTITY_TARGET_COMPLETION_VALUE_NOT_ALLOWED​

Value not allowed

A completion target has no running value. Leave currentTargetValue out and set achieved instead.

Message: Cannot update a completion entitytarget with a current entitytarget value

ENTITY_TARGET_CYCLE_UNAVAILABLE​

No cycle available

The counter target has no cycle for the event date time and none can be started, for example because the target's period has ended.

Message: Unable to identify or create a cycle

ENTITY_TARGET_DEPTH_EXCEEDED​

Target nesting too deep

Milestone and x-of-y targets nest more levels than Loom Loyalty allows. Flatten the target hierarchy.

Message: Maximum target nesting depth of {maxDepth} exceeded

ENTITY_TARGET_INVALID​

Target not valid

The entity target has no completion, counter, milestone or x-of-y details. Contact support if it keeps happening.

Message: Target is not valid

ENTITY_TARGET_MULTIPLE_ACTIVE​

Several active instances

The target is scoped by event or period, so the entity has several active instances and progress is ambiguous. Use a target without event or period scoping.

Message: Entity target {targetCode} has more than one active instance; the wallet-pass progress endpoint requires a target without event/period-scoped multiplicity

ENTITY_TARGET_NO_CYCLE_FOR_DATE​

No cycle for date

No cycle of the counter target covers the event date time. Send a date time inside an active cycle.

Message: Cannot find a cycle for the event date time

ENTITY_TARGET_NOT_APPLICABLE​

Target does not apply

The target's conditions do not match this event's data, so the entity cannot be registered for it.

Message: Target is not valid for event data

ENTITY_TARGET_NOT_COUNTER​

Not a counter target

Progress here is only reported for counter targets. Use the code of a counter target.

Message: Entity target {targetCode} is not a COUNTER target

ENTITY_TARGET_NOT_PROGRESS_TARGET​

Not a progress target

Progress can only be recorded against completion and counter targets. Use a target of one of those types.

Message: Target is not a ProgressTarget

ENTITY_TARGET_NOT_UPDATABLE​

Target cannot be updated

Milestone and x-of-y targets follow their child targets, so they cannot be updated directly. Update the child targets instead.

Message: Cannot update a milestone or x-of-y entitytarget

ENTITY_TARGET_PROGRESS_REQUEST_INVALID​

Invalid progress request

The progress request is neither a counter amount nor a completion. Check the body against the API reference.

Message: Invalid customer entitytarget progress request

ENTITY_TARGET_REFERENCE_REQUIRED​

Target reference required

The request names no target. Send a targetId or a targetCode.

Message: targetId or targetCode is required

ENTITY_TARGET_TYPE_UNSUPPORTED​

Target type not supported

Only completion, counter, milestone and x-of-y targets can be assigned to an entity.

Message: Unsupported entitytarget type

ENVIRONMENT_WORKFLOW_POLICY_ENTITY_TYPES_REQUIRED​

Enable policy covers no entity types

An enable policy must either apply to all entity types or list at least one. Set appliesToAllEntityTypes to true or add entity types to entityTypes.

Message: The enable policy must apply to all entity types or list at least one

EVENT_CAPPING_TARGET_NOT_FOUND​

Capping target not found

An event rule caps a currency award with a counter target that no longer exists. Fix the rule's capping target.

Message: Unable to find counter target for capping target

EVENT_CHECK_IN_DATE_OUT_OF_RANGE​

Check-in date out of range

A staff user dated a check-in more than the allowed number of days back, or later than now. Pick a date within the window.

Message: A check-in can be dated up to {maxDays} days back and not in the future

EVENT_DATA_INVALID​

Event data invalid

The event's data does not match the data model of its event type. Fix the fields listed in the errors so they match that data model, then submit the event again.

Message: The event data is not valid.

EVENT_DATE_RANGE_INVALID​

Invalid event date range

The event date range filter starts after it ends. Send an eventStartDateTime that is on or before eventEndDateTime.

Message: eventStartDateTime must be before or equal to eventEndDateTime

EVENT_ENTITY_ID_CHANGE_NOT_ALLOWED​

Entity cannot change

An event update must keep the original event's entity. Cancel the event and submit a new one for the other entity.

Message: Cannot change entity ID from {originalEntityId} to {entityId} for event {eventId}

EVENT_ENTITY_TYPE_CHANGE_NOT_ALLOWED​

Entity type cannot change

An event update must keep the original event's entity type. Send the update with the same entity type.

Message: Cannot change entity type from {originalEntityType} to {entityType} for event {eventId}

EVENT_ENTITY_TYPE_UNSUPPORTED​

Entity type not supported

Events can only be recorded against customers. Send the event with the CUSTOMER entity type.

Message: Unsupported entity type: {entityType}

EVENT_FEED_DEFINITION_INVALID​

Invalid event feed definition

The definition breaks one or more rules. Each problem is listed with the JSON pointer of the part at fault; fix them and save again.

Message: Invalid event feed definition

EVENT_FEED_DEFINITION_UNREADABLE​

Unreadable event feed definition

The definition does not read as an event feed definition, for example it names an unknown step type. The problem is listed with the JSON pointer of the part at fault.

Message: Invalid event feed definition

EVENT_FEED_ENVIRONMENT_SETTINGS_INVALID​

Invalid feed environment settings

The settings break one or more rules, such as a missing schedule or an internal SFTP host. Each problem is listed with the pointer of the field at fault.

Message: Invalid event feed environment settings

EVENT_FEED_ENVIRONMENT_UPDATE_AMBIGUOUS​

Ambiguous environment settings update

The update sent settings and a status together. Change the status in its own request.

Message: A settings update changes either the settings or the status

EVENT_FEED_FIELD_REQUIRED​

Event feed field required

The request leaves out a value an event feed needs. Send the named field.

Message: {field} is required

EVENT_FEED_IMPORT_ENTITLEMENT_FIELD_REQUIRED​

Import entitlement field required

Creating an import entitlement needs both maxFeeds and minIntervalMinutes. Send the named field.

Message: {field} is required to create an import entitlement

EVENT_FEED_RUN_ID_INVALID​

Run ID not valid

The request names an event feed run by its ID, as the run list returns it (efdr_...).

Message: eventFeedRunId is required and must be a valid ID.

EVENT_FEED_RUN_STATUS_REQUIRED​

Run status required

A change to an event feed run sets its status: UPLOADED once the file is uploaded, or CANCELLED.

Message: status is required.

EVENT_FEED_SOURCE_AMBIGUOUS​

Definition or clone source required

A new event feed takes its definition from the request or from the feed it clones. Send exactly one of definition and fromFeedId.

Message: Send either a definition or fromFeedId to clone, and not both

EVENT_FEED_UPLOAD_SIZE_INVALID​

Upload size not allowed

An API upload declares its file size up front, and the file must hold at least 1 byte and at most 2 GB. Split a larger file into several uploads.

Message: contentLength must be between 1 and {maxBytes} bytes (2 GB).

EVENT_FEED_VERSION_NOT_REOPENABLE​

Version can't return to draft

Only a draft version's definition can change. Create a new draft version from this one instead.

Message: A version can't go back to DRAFT; start a new draft from it with POST .../versions

EVENT_FEED_VERSION_UPDATE_AMBIGUOUS​

Ambiguous version update

The update sent both a definition and a status, or neither. Send one of them per request.

Message: A version update changes either its definition or its status

EVENT_IDEMPOTENCY_KEY_INVALID​

Idempotency key invalid

An event was published with a blank or over-long Idempotency-Key header. Send a shorter key, or none.

Message: The Idempotency-Key header must be 1 to {maxLength} characters

EVENT_MEMBER_REDEMPTION_REWARD_REQUIRED​

Reward code required

A redemption submitted from the portal must carry the rewardCode of the reward being redeemed.

Message: A member redemption must name a rewardCode

EVENT_PROGRAM_BUDGET_NEGATIVE_AWARD​

Negative award on a program-wide budget

A rule that a program-wide budget caps worked out a negative award. A negative award would hand budget back that no event spent, so the event fails. Fix the rule's award expression, or use a withdraw action to take points back.

Message: Rule {eventRuleId} awarded a negative amount against program-wide budget {targetId}

EVENT_RULE_ACTIONS_REQUIRED​

Event rule has no actions

A rule with no actions would match events and do nothing. Add at least one action to the rule's actions expression, then publish again.

Message: Cannot publish an EventRule without actions

EVENT_RULE_BACKTEST_NO_EVENT_TYPE​

Backtest version has no event type

The rule version has no event type, so there are no past events to run it over. Set the rule's event type and try again.

Message: Version {version} of the rule has no event type.

EVENT_RULE_BACKTEST_REQUIRES_DRAFT​

Backtest needs a draft

A backtest compares a draft with the live version, so the version must be a DRAFT. Create a new draft version and backtest that.

Message: Only draft versions can be backtested.

EVENT_RULE_BACKTEST_TIMEOUT​

Backtest timed out

The backtest query ran past its time limit. Shorten the window and try again.

Message: The backtest took too long. Try a shorter range.

EVENT_RULE_BACKTEST_TOO_LARGE​

Backtest too large

The rule matched more events in the window than a backtest can process. Shorten the window.

Message: This rule's history in the window is too large to backtest. Try a shorter range.

EVENT_RULE_BACKTEST_VERSION_MISMATCH​

Backtest version mismatch

Only the rule's current version can be backtested, and the requested version is not it. Reload the rule and backtest its current version.

Message: Version mismatch: version {version} does not match current version {currentVersion}

EVENT_RULE_BACKTEST_WINDOW_INVERTED​

Backtest window is empty

The backtest window's start is not before its end. Pass a from that is earlier than to.

Message: The window's start must be before its end.

EVENT_RULE_BACKTEST_WINDOW_TOO_LONG​

Backtest window too long

A backtest covers at most 365 days of events. Shorten the window.

Message: The window can be at most 365 days.

EVENT_RULE_DISCOUNT_ACTION_INVALID​

Discount action invalid

An applyDiscount or applyCoupon action has a value that doesn't fit its discountType or a path that doesn't read a line. discountValue must be above zero (at most 100 for PERCENTAGE), BUY_X_GET_Y needs buyQuantity and getQuantity of at least 1 and other types take neither, minimumSpend can't be negative, maxDiscountValue must be above zero, and linePricePath and lineQuantityPath read $.eventLineItem. errors[] names each field at fault.

Message: The event rule has a discount action that can't price a cart

EVENT_RULE_EVENT_TYPE_CONFIGURATION_MISSING​

Event type configuration missing

A rule can only go live for an event type that has an event type configuration in this environment. Create or enable the configuration for the rule's event type, then publish again.

Message: Cannot publish an EventRule without a matching EventTypeConfiguration

EVENT_RULE_EVENT_TYPE_CONFIGURATION_MISSING_IN_ENVIRONMENT​

Event type configuration missing where the rule runs

Publishing makes the rule live in every environment its live version runs in, and each of them needs the rule's event type configuration. Enable the configuration in that environment, then publish again.

Message: Cannot publish event rule {code}: its event type configuration is not enabled in {environmentCode}, where the rule runs

EVENT_RULE_EVENT_TYPE_UNRESOLVED​

Event type not found

The event rule names an event type code that does not exist in the organization. The message lists the valid codes, or says how to create the first event type.

Message: eventTypeCode '{eventTypeCode}' is not an event type in this organization. {validValues}

EVENT_RULE_FIELD_UNDECLARED​

Event data field not declared

A rule may read only the eventData fields its event type's data model declares; an undeclared field is never sent, so the rule would fail every event of the type. errors[] names each path and the declared fields. Add the field to the data model, or read a declared field.

Message: The event rule reads an event data field its event type doesn't declare

EVENT_RULE_HIERARCHY_CONDITION_INCOMPLETE​

Hierarchy condition incomplete

A hierarchy condition needs the metadata type it checks and the type and code of the hierarchy node. Fill in all three.

Message: {operator} needs a metadata type and a hierarchy node type and code

EVENT_RULE_HIERARCHY_CONDITION_UNAVAILABLE​

Hierarchy condition not available

Hierarchy conditions are not switched on for this environment. Remove the condition, or ask Loom Loyalty support to enable it.

Message: {operator} is not available in this environment yet

EVENT_RULE_HIERARCHY_NODE_NOT_FOUND​

Hierarchy node not found

The condition names a hierarchy node that does not exist. Check the node's type and code, or create the metadata first.

Message: {operator} names hierarchy node {nodeTypeCode}/{nodeCode}, which does not exist

EVENT_RULE_LINE_ITEM_PATH_NEEDS_PER_ITEM​

Line item path needs per-item processing

$.eventLineItem only has a value while a rule scores each line item. Set processItemsIndividually to true, or read the field through $.eventData.lineItems.

Message: {path} reads a line item, so the rule must process items individually

EVENT_RULE_PROGRAM_TRACING_TOO_MANY_RULES​

Too many rules to trace

Turning tracing on for a whole program is capped so traces don't flood storage. Turn it on for the rules you need one at a time with the event rule's traceMode.

Message: Program {programId} has {ruleCount} event rules; tracing can be turned on for at most {maxRules} at once.

EVENT_RULE_PROGRAM_WIDE_TARGET_MISUSED​

Program-wide target misused

A program-wide counter target (specifiedEntityType PROGRAM) counts once for the whole program. A rule can use it as an occurrence target or a currency target, only for a program the rule belongs to, and as an occurrence target only on a rule for that one program. errors[] names each misuse.

Message: The event rule uses a program-wide counter target where it can't

EVENT_RULE_PROMOTION_TARGET_UNRESOLVED​

Promotion target not found

The event rule names a promotion target that does not exist. Check the target ID, or create the target first.

Message: Entity of type 'Target' and identifier '{targetId}' unable to be resolved

EVENT_RULE_PUBLISH_FLAG_REQUIRED​

Publish flag required

A PUT on an event rule version only publishes it, so the request must say so. Add ?publish=true to the request.

Message: PUT on versions requires ?publish=true

EVENT_RULE_REFERENCE_UNRESOLVED​

Rule reference not found

Every program, currency, tier, badge, offer, audience and target a rule or its actions name must exist in the organization when the rule is saved. errors[] names each one, with the valid codes. Create the record first, or fix the code.

Message: The event rule names a record that doesn't exist in this organization

EVENT_RULE_TARGET_REACHED_TARGET_REQUIRED​

Pick which target

A rule triggered by target.achieved with no eventSubTypeIdentifier fires every time any target is reached. Set eventSubTypeIdentifier to the identifier of the one target the rule listens to.

Message: A target-reached rule must name which target it listens to. Pick which target.

EVENT_TARGET_IDENTIFIER_INCOMPLETE​

Target identifier incomplete

An event was published with only one of identifierTypeCode and identifier. Send the identifier type code with its value, or leave both out.

Message: identifierTypeCode and identifier select a customer together: send both or neither

EVENT_TYPE_ACTION_EVENT_TYPE_CHANGED​

Event type can't be changed

An event type action stays bound to the event type it registers; only its surfaces can change. Delete it and create a new one for the other event type.

Message: Event type code cannot be changed from '{currentEventTypeCode}' to '{eventTypeCode}'; delete this event type action and create a new one instead

EVENT_TYPE_ACTION_EVENT_TYPE_UNRESOLVED​

Event type not found

The event type action names an event type code that does not exist in the organization. Check the code, or create the event type first.

Message: Entity of type 'EventType' and identifier '{eventTypeCode}' unable to be resolved

EVENT_TYPE_CONFIGURATION_EVENT_TYPE_UNRESOLVED​

Event type not found

The configuration names an event type code that does not exist in the organization. Check the code, or create the event type first.

Message: Entity of type 'EventType' and identifier '{eventTypeCode}' unable to be resolved

EVENT_TYPE_CONFIGURATION_JSON_PATH_INVALID​

Invalid field mapping path

A field-mapping path names one value in the submitted event's body, such as $.orderNumber. Deep scans ($..x), wildcards and filters match several values, so they are refused when the configuration is saved.

Message: '{field}' must be a valid, definite JsonPath of at most 255 characters, such as $.orderNumber, but was '{jsonPath}'

EVENT_TYPE_NOT_SUBMITTABLE​

Event type not submittable

This event type cannot be submitted as a new event. Loom Loyalty emits some event types itself, and cancelling or updating an event has its own route (DELETE or PUT /events/{eventId}). Follow the reason in the message, or submit one of your own event types instead.

Message: Event type '{eventTypeCode}' cannot be submitted from this surface: {reason}

EVENT_TYPE_PERMISSIONS_ORGANIZATION_REQUIRED​

Organization required

Which event types you may submit depends on your roles in an organization. Sign in to an organization and environment, then ask again.

Message: Event type permissions need an organization

EVENT_TYPE_ROLE_EVENT_TYPE_UNRESOLVED​

Event type not found

The link names an event type code that does not exist in the organization. Check the code, or create the event type first.

Message: Entity of type 'EventType' and identifier '{eventTypeCode}' unable to be resolved

EVENT_TYPE_ROLE_ROLE_UNRESOLVED​

Role not found

The link names a role that does not exist in the organization. Check the role ID, or list the roles to find it.

Message: Entity of type 'Role' and identifier '{roleId}' unable to be resolved

FEATURE_FLAG_KEY_REQUIRED​

Feature flag key required

The request names no feature flag. Send the flag's key.

Message: flagKey is required

FEATURE_FLAG_OVERRIDE_LOCK_NOT_GLOBAL​

Lock outside global scope

Only a GLOBAL override can lock a flag for every organization. Set locked to false, or use scopeType GLOBAL.

Message: locked=true is only allowed at GLOBAL scope

FEATURE_FLAG_OVERRIDE_SCOPE_TYPE_REQUIRED​

Override scope type required

An override applies at one scope. Send scopeType: GLOBAL, TIER, ENVIRONMENT_TYPE, ORGANIZATION or ORGANIZATION_ENVIRONMENT.

Message: scopeType is required

FEATURE_FLAG_OVERRIDE_SCOPE_VALUE_INVALID​

Override scope value invalid

The scope value does not fit the scope type: GLOBAL takes * or nothing, TIER a tier name, ENVIRONMENT_TYPE an environment type, and ORGANIZATION or ORGANIZATION_ENVIRONMENT an id.

Message: Invalid {scopeType} scope value: {scopeValue}

FEATURE_FLAG_ROLLBACK_GUARD_UNCONFIRMED​

Rollback guard not confirmed

Turning this flag on in production cannot be cleanly undone. Read the guard in the message, then send confirmRollbackGuard true.

Message: confirmRollbackGuard is required: {rollbackGuard}

FEATURE_FLAG_VALUE_NOT_BOOLEAN​

Override value not boolean

Feature flag overrides are on or off. Send true or false as the value.

Message: Feature flag {flagKey} expects BOOLEAN value

FEATURE_OPT_IN_NOT_SUPPORTED​

Feature has no opt-in

This feature is turned on by Loom Loyalty, not by the organization. Choose a feature that offers opt-in.

Message: Feature flag does not support opt-in: {flagKey}

FEED_ENTITY_TYPE_UNAVAILABLE​

Event feeds not available

The request names the FEED entity type while file imports are switched off. Leave FEED out of the request.

Message: Entity type FEED is not available: Loom Loyalty file imports are not enabled

FEEDBACK_RESOLUTION_URL_REQUIRED​

Shipped feedback needs a link

Feedback can be marked SHIPPED only with a resolution.url the submitter can read, such as release notes or the docs page that changed.

Message: status SHIPPED needs resolution.url

FEEDBACK_SUBJECT_UNKNOWN​

Unknown feedback subject

For subject.type API_OPERATION, subject.ref must be an operationId from the OpenAPI document. Check the spelling, or use subject.type PRODUCT_AREA for something that is not an API operation.

Message: Unknown {subjectType} '{ref}'

FILE_EXPORT_DESTINATION_INVALID​

Invalid export destination

The SFTP host does not resolve, or resolves to an internal address Loom Loyalty may not connect to. Use a public host name.

Message: Invalid export destination

FILE_EXPORT_ENTITLEMENT_FIELD_REQUIRED​

Export entitlement field required

Creating an export entitlement needs both maxExports and minIntervalMinutes. Send the named field.

Message: {field} is required to create an export entitlement

FILE_EXPORT_FIELD_REQUIRED​

File export field required

The request leaves out a value a file export needs. Send the named field.

Message: {field}: must not be null

FILE_EXPORT_SAVED_VIEW_UNRESOLVED​

Saved view not resolved

The saved view the export reads does not exist in the organization. Pick an existing saved view.

Message: Saved view {savedViewId} not found

FILE_EXPORT_SCHEDULE_INVALID​

Invalid export schedule

The cron expression does not parse, the time zone is not an IANA zone, the schedule never fires, or it fires more often than the organization's plan allows. Each problem is listed with its field.

Message: Invalid export schedule

FLOW_EVENT_TYPE_UNRESOLVED​

Event type not found

The flow names an event type code that does not exist in the organization. Check the code, or create the event type first.

Message: Entity of type 'EventType' and identifier '{eventTypeCode}' unable to be resolved

FLOW_EXIT_CRITERION_EVENT_TYPE_REQUIRED​

Exit criterion has no event type

Each exit criterion fires on an event type, and this one names none. Set its eventTypeCode.

Message: Exit criterion {index} declares no eventTypeCode

FLOW_EXIT_CRITERION_NULL​

Empty exit criterion

An entry in the flow's exit criteria is empty. Remove it, or give it an event type.

Message: Exit criterion {index} is null

FLOW_GRAPH_BRANCH_CANNOT_REACH_JOIN​

Split branch never joins

Every branch of a split must lead to the split's join, or the join waits forever. Route the branch to the join.

Message: Split branch step '{branchStepKey}' cannot reach join '{joinStepKey}' for split '{splitStepKey}'

FLOW_GRAPH_CYCLE​

Flow graph has a cycle

A step routes, directly or through other steps, back to itself, so the flow could loop forever. Remove the routing that closes the loop.

Message: Flow graph must be acyclic

FLOW_GRAPH_DUPLICATE_JOIN​

Split has two joins

Each split can be closed by one join. Remove one of the joins.

Message: Steps '{firstStepKey}' and '{secondStepKey}' both declare a join for split step '{splitStepKey}'

FLOW_GRAPH_DUPLICATE_STEP_KEY​

Duplicate step key

Two steps share the same stepKey. Give each step a unique key.

Message: Duplicate stepKey '{stepKey}' in flow graph

FLOW_GRAPH_ENTRY_STEP_REQUIRED​

Flow graph has no entry step

A published flow starts at its entry step, and this graph names none. Set entryStepKey to one of the steps.

Message: Flow graph must declare an entryStepKey

FLOW_GRAPH_ENTRY_STEP_UNKNOWN​

Unknown entry step

The entry step key does not match any step in the graph. Set entryStepKey to an existing step's key.

Message: entryStepKey '{entryStepKey}' does not resolve to any step

FLOW_GRAPH_EVENT_WAIT_NO_EVENT_TYPE​

Event wait has no event type

A wait for an event must name the event type it waits for. Set wait.forEvent.eventTypeCode.

Message: Step '{stepKey}' declares an event-wait with no eventTypeCode

FLOW_GRAPH_EVENT_WAIT_NO_TIMEOUT​

Event wait has no timeout

A wait for an event needs a timeout so it can't wait forever. Set the wait's timeout.

Message: Step '{stepKey}' event-wait has no timeout ceiling (INV-5): declare an explicit timeout

FLOW_GRAPH_EVENT_WAIT_TIMEOUT_NOT_POSITIVE​

Event wait timeout not positive

A zero or negative timeout would end the wait at once. Set a positive timeout.

Message: Step '{stepKey}' event-wait timeout must be positive (INV-5): declare a positive timeout

FLOW_GRAPH_EVENT_WAIT_TIMEOUT_TOO_LONG​

Event wait timeout too long

The wait's timeout is longer than a flow allows. Shorten the timeout.

Message: Step '{stepKey}' event-wait timeout exceeds the maximum of {maxDays} days (INV-5)

FLOW_GRAPH_EVENT_WAIT_WITH_DURATION​

Event wait has a duration

A wait for an event ends at its timeout, so a duration would be ignored. Remove the duration.

Message: Step '{stepKey}' event-wait must not also declare a duration — an event-wait's ceiling is its timeout

FLOW_GRAPH_INVALID_FIELD​

Invalid flow graph field

A field of the flow graph breaks one of its rules. Fix the field named in the message.

Message: Invalid flow graph {path}: {reason}

FLOW_GRAPH_JOIN_ENTERED_OUTSIDE_SPLIT​

Join entered from outside its split

Only steps inside a split's branches may route into its join. Route the step elsewhere.

Message: Step '{stepKey}' routes directly into join '{joinStepKey}' but is not reachable from any branch of split '{splitStepKey}'

FLOW_GRAPH_JOIN_SPLIT_NOT_A_SPLIT​

Join names a step without a split

A join's splitStepKey must name a split step. Point it at the split step it closes.

Message: Step '{stepKey}' join references step '{splitStepKey}', which has no split

FLOW_GRAPH_JOIN_SPLIT_REQUIRED​

Join has no split

A join waits for the branches of one split, and this join names none. Set its splitStepKey.

Message: Step '{stepKey}' declares a join with no splitStepKey

FLOW_GRAPH_JOIN_SPLIT_UNKNOWN​

Join names an unknown split

A join's splitStepKey names a step that is not in the graph. Point it at the split step it closes.

Message: Step '{stepKey}' join references unknown split step '{splitStepKey}'

FLOW_GRAPH_MALFORMED​

Malformed flow graph

The flow graph is not a valid graph document. Check that it is well-formed JSON in the flow graph format.

Message: Invalid flow graph: the document could not be read

FLOW_GRAPH_MALFORMED_VALUE​

Malformed flow graph value

A value in the flow graph has the wrong type or format, such as text where a number or duration is expected. Fix the value at the path in the message.

Message: Invalid flow graph at '{path}': the value has the wrong type or format

FLOW_GRAPH_METADATA_TAG_ACTION​

Metadata-tag action in a flow

Metadata-tag actions only run in event rules. Remove the action from the flow step.

Message: Step '{stepKey}' uses a metadata-tag action, which is not yet supported on flow steps

FLOW_GRAPH_NO_STEPS​

Flow graph has no steps

A flow graph needs at least one step. Add a step.

Message: Flow graph must contain at least one step

FLOW_GRAPH_NULL_STEP​

Empty flow step

The graph's steps list has an empty entry. Remove it.

Message: Flow graph contains a null step

FLOW_GRAPH_OCCURRENCE_TARGETS_WITHOUT_PROGRAMS​

Occurrence targets need programs

A step that counts toward occurrence targets must name the programs to count in. Set the step's programIds.

Message: Step '{stepKey}' declares occurrence targets but no programIds; occurrence targets require programIds to scope the increment

FLOW_GRAPH_REQUIRED​

Flow graph required

The request has no flow graph. Send the graph document in the request body.

Message: Flow graph is required

FLOW_GRAPH_ROUTING_TARGET_BLANK​

Blank routing target

A routing slot is set but empty. Name the step it routes to, or remove the slot.

Message: Step '{stepKey}' has a blank routing.{slot} target

FLOW_GRAPH_ROUTING_TARGET_UNKNOWN​

Unknown routing target

A routing slot names a step that is not in the graph. Point it at an existing step's key.

Message: Step '{stepKey}' routing.{slot} targets unknown step '{target}'

FLOW_GRAPH_SPLIT_BRANCH_BLANK​

Blank split branch

A split branch is empty. Name the step the branch starts at, or remove it.

Message: Step '{stepKey}' has a split branch with a blank target

FLOW_GRAPH_SPLIT_BRANCH_DUPLICATE​

Duplicate split branch

A split lists the same branch step twice. Remove the duplicate.

Message: Step '{stepKey}' has a duplicate split branch '{branch}'

FLOW_GRAPH_SPLIT_BRANCH_UNKNOWN​

Unknown split branch

A split branch names a step that is not in the graph. Point it at an existing step's key.

Message: Step '{stepKey}' split branch '{branch}' does not resolve to any step

FLOW_GRAPH_SPLIT_BYPASS_REACHES_JOIN​

Split bypass reaches its join

The split's onNoMatch route skips the split but still leads to its join, which would wait forever. Route onNoMatch away from the join.

Message: Split '{splitStepKey}' declares routing.onNoMatch '{onNoMatch}', which can reach its own join '{joinStepKey}' without going through the split's fan-out — a cursor taking the onNoMatch bypass can never legitimately carry this split's key when it reaches the join; route onNoMatch away from any path that reaches the join

FLOW_GRAPH_SPLIT_NO_BRANCHES​

Split has no branches

A split step fans out to its branches, and this one has none. Add the branch steps, or remove the split.

Message: Step '{stepKey}' declares a split with no branches

FLOW_GRAPH_SPLIT_RECONVERGENCE​

Split reached from several branches

More than one branch reaches the same split without a join in between, so all but one would stall. Add a join before the split, or let only one branch reach it.

Message: Split '{splitStepKey}' is reachable from multiple branches without an intervening JOIN ({origins}); this would silently strand every branch after the first at runtime — add a JOIN before it, or restructure so at most one branch reaches it

FLOW_GRAPH_SPLIT_TOO_MANY_BRANCHES​

Too many split branches

A split step has more branches than a flow allows. Reduce the number of branches.

Message: Step '{stepKey}' declares {branchCount} split branches; at most {maxBranches} are allowed

FLOW_GRAPH_SPLIT_WITH_ROUTING​

Split step has routing

A split step continues through its branches, so it can't also route onMatch or next. Remove those slots; routing.onNoMatch may skip the split.

Message: Step '{stepKey}' declares a split and routing.onMatch or routing.next; split steps may only use routing.onNoMatch to skip the parallel section

FLOW_GRAPH_STEP_KEY_REQUIRED​

Flow step has no key

Every step needs a stepKey so other steps can route to it. Give each step a unique key.

Message: Every flow step must declare a non-blank stepKey

FLOW_GRAPH_TOO_MANY_SPLITS​

Too many split steps

The graph has more split steps than a flow allows. Reduce the number of splits.

Message: Flow graph declares {splitCount} split steps; at most {maxSplits} are allowed

FLOW_GRAPH_UNKNOWN_FIELD​

Unknown flow graph field

The flow graph has a field the graph format does not define, often a misspelling. Remove or rename the field.

Message: Invalid flow graph field '{field}' at '{path}': unrecognized field

FLOW_GRAPH_UNREACHABLE_STEPS​

Unreachable flow steps

Some steps can never be reached from the entry step. Route to them from another step, or remove them.

Message: Flow steps unreachable from entryStepKey '{entryStepKey}': {stepKeys}

FLOW_GRAPH_WAIT_AND_JOIN​

Step has a wait and a join

A step can wait or join, not both. Move the wait to its own step.

Message: Step '{stepKey}' must not declare both a wait and a join

FLOW_LIFECYCLE_TRIGGER_REENROLLMENT​

Lifecycle trigger needs NEVER re-enrollment

A flow triggered by another flow's start or exit could loop forever if customers can re-enroll. Set the re-enrollment mode to NEVER.

Message: A flow triggered by {triggerEventTypeCode} must use NEVER re-enrollment: cross-flow lifecycle triggers can otherwise cycle unbounded

FLOW_OCCURRENCE_TARGET_EVENT_SCOPED​

Event-scoped target in a flow

A flow step can't count toward a target scoped to one event. Use a program-scoped or unscoped target.

Message: Occurrence target {targetId} on step '{stepKey}' is event-scoped, which a flow cannot track consistently because each advance uses a distinct event context; use a program-scoped or unscoped target

FLOW_OCCURRENCE_TARGET_RULE_SCOPED​

Rule-scoped target in a flow

A flow step can't count toward a target scoped to one event rule. Use a program-scoped or unscoped target.

Message: Occurrence target {targetId} on step '{stepKey}' is event-rule-scoped, which is not allowed on a multi-rule flow; use a program-scoped or unscoped target

FLOW_OCCURRENCE_TARGET_UNRESOLVED​

Occurrence target not found

A step names an occurrence target that does not exist. Check the target ID, or create the target first.

Message: Occurrence target {targetId} on step '{stepKey}' does not resolve

FLOW_PROGRAM_WIDE_TARGET​

Program-wide target in a flow

A program-wide counter target (specifiedEntityType PROGRAM) counts once for the whole program, and only event rules count it. Remove it from the flow step, or use it from an event rule.

Message: Step '{stepKey}' names target {targetId}, which is a program-wide counter; flows can't count one

FLOW_TEST_BADGE_NOT_FOUND​

Badge not found

A synthetic badge code names no badge in this environment. Send the codes of existing badges.

Message: Synthetic badgeCode does not resolve to a badge: {badgeCode}

FLOW_TEST_CUSTOMER_REQUIRED​

Customer required

A test against a real customer needs its id. Send target.customerId, or set target.syntheticTarget to true.

Message: customerId is required when syntheticTarget is false

FLOW_TEST_GRAPH_INCOMPLETE​

Flow graph incomplete

The flow version has no graph or no entry step. Add an entry step to the graph, then test it.

Message: Flow version must have a graph with an entry step before it can be tested

FLOW_TEST_SYNTHETIC_OCCURRENCE_TARGETS​

Synthetic test not supported

A step in this flow has occurrence targets, which need a real customer. Test it against a real customer.

Message: Synthetic flow tests do not support steps with occurrence targets; use a real customer target

FLOW_TEST_TARGET_NOT_FOUND​

Target not found

A synthetic target progress entry names no target in this environment. Send the codes of existing targets.

Message: Synthetic targetCode does not resolve to a target: {targetCode}

FLOW_TEST_TIER_NOT_FOUND​

Tier not found

The synthetic tier code names no tier in this environment. Send the code of an existing tier.

Message: Synthetic tierCode does not resolve to a tier: {tierCode}

FLOW_TRIGGER_REQUIRED​

Flow has no trigger

A flow without a trigger event type can never enroll anyone. Set triggerEventTypeCode before publishing.

Message: Flow version has no triggerEventTypeCode; a published flow must declare the event type that enrolls customers into it

HUB_COMPONENT_INVALID​

Hub component bundle invalid

The component bundle or its manifest broke one or more validation rules, listed in the message. Fix them and upload the bundle again.

Message: Component validation failed: {errors}

HUB_COMPONENT_MANIFEST_INVALID​

Hub component manifest invalid

The uploaded manifest file could not be read as JSON. Fix the manifest file and upload the bundle again.

Message: Manifest is not valid JSON

HUB_COMPONENT_ROLLBACK_UNAVAILABLE​

Hub rollback unavailable

The hub has no component version history to roll back to. Upload a component bundle first.

Message: No component versions available for rollback

HUB_COMPONENT_VERSION_FILES_MISSING​

Hub component files missing

The version is in the hub's history, but its files are no longer in storage, so it cannot be restored. Roll back to another version, or upload the bundle again.

Message: Version '{version}' files not found in storage. Cannot rollback.

HUB_COMPONENT_VERSION_UNRESOLVED​

Hub component version not resolved

The rollback names a version the hub never deployed. Use one of the versions listed in the message.

Message: Version '{version}' not found in version history. Available versions: {availableVersions}

HUB_CONFIG_ENTITY_TYPE_UNAVAILABLE​

Hub config promotion not available

The request names the HUB_CONFIG entity type while tenant config packages are switched off for this environment. Leave HUB_CONFIG out of the request.

Message: Entity type HUB_CONFIG is not available: tenant config packages are not enabled

HUB_ENVIRONMENT_CONTEXT_MISSING​

Hub environment context missing

The request carried no organization environment, so Loom Loyalty cannot tell which environment the hub belongs to. Select an environment and send the request again.

Message: No organization environment was selected for this request

HUB_ORGANIZATION_CONTEXT_MISSING​

Hub organization context missing

The request carried no organization, so Loom Loyalty cannot tell which organization the hub belongs to. Sign in to an organization and send the request again.

Message: No organization was selected for this request

HUB_ORGANIZATION_UNRESOLVED​

Hub organization not resolved

The caller's organization could not be found while creating its hub, so no subdomain could be derived. Sign in again; if it continues, contact support.

Message: Entity of type 'Organization' and identifier '{organizationId}' unable to be resolved

HUB_SUBDOMAIN_INVALID​

Hub subdomain invalid

The hub subdomain comes from the organization code, and this code does not make a valid DNS label of at most 63 letters, digits and hyphens. Contact support to change the organization code.

Message: The organization code can't be used as a subdomain: {reason}

LOGIN_USER_IDP_USER_ID_REQUIRED​

Identity provider user id required

A login user is created for a user at the identity provider, so the request must carry that user's id. Send idpUserId.

Message: idpUserId is required to create a login user

LOGIN_USER_INVITATION_ROLE_NOT_INVITABLE​

Role can't be invited into

Only an active role of the organization meant for people can be given to an invited person; API-key and platform roles cannot. List the roles with GET /roles?invitable=true.

Message: Role {roleId} cannot be given to an invited person

M2M_CLIENT_AI_BOT_ROLE_ONLY​

AI bot client role is fixed

An AI bot API client is limited to the AI bot role so it can never gain wider access. Create a partner API client if you need another role.

Message: An AI_BOT client may only hold the 'ai-bot' role; cannot assign role '{roleCode}'

M2M_CLIENT_INGEST_SOURCE_ROLE_ONLY​

Webhook source client role is fixed

A webhook ingest source's API client holds only the webhook-ingest role, which submits events. Create a partner API client if you need another role.

Message: An INGEST_SOURCE client may hold only the 'webhook-ingest' role; cannot assign role '{roleCode}'

M2M_CLIENT_INGEST_WORKER_ROLE_ONLY​

Ingest Worker client role is fixed

The Ingest Worker's API client is limited to the Ingest Worker role so it can never gain wider access. Create a partner API client if you need another role.

Message: An INGEST_WORKER client may only hold the 'ingest-worker' role; cannot assign role '{roleCode}'

M2M_CLIENT_TYPE_NOT_CREATABLE​

API client type not creatable

This type of API client is created by the platform itself, for example with a webhook ingest source. Create a partner API client instead.

Message: An API client of type '{clientType}' cannot be created through this API

M2M_CLIENT_WEAVE_WORKER_ROLE_ONLY​

Weave Worker client role is fixed

The Weave Worker's API client is limited to the Weave Worker role so it can never gain wider access. Create a partner API client if you need another role.

Message: A WEAVE_WORKER client may only hold the 'weave-worker' role; cannot assign role '{roleCode}'

MCP_ARGUMENT_INVALID​

Tool argument not valid

A tool argument has the wrong type or is out of range. The message says what the argument must be.

Message: {argument} must be {requirement}

MCP_ARGUMENT_REQUIRED​

Tool argument missing

The tool call left out an argument the tool needs. Send it and call the tool again.

Message: {argument} is required

MCP_ARGUMENTS_UNREADABLE​

Tool arguments unreadable

The tool arguments don't read as the request the tool builds from them, such as an unknown property or a value of the wrong type.

Message: The tool arguments could not be read: {reason}

MCP_SAMPLE_NOT_ENCODABLE​

Sample not encodable

The sample text has a character the feed version's file encoding can't hold. Remove it or change the version's encoding.

Message: sample has a character the version's encoding {encoding} can't represent

MESSAGE_TEMPLATE_BODY_REQUIRED​

Message template body required

Give the template an HTML body, a plain-text body or both.

Message: A message template needs an htmlBody, a textBody or both

MESSAGE_TEMPLATE_LOCALE_DUPLICATE​

Duplicate template locale

A template has content once per locale: its default locale and each variant's must all differ (case is ignored). To make a variant's language the default, send the new defaultLocale and the variants without it in the same update.

Message: The {field} '{locale}' is already the template's default locale or another variant's

MESSAGE_TEMPLATE_LOCALE_INVALID​

Invalid template locale

A locale is a BCP 47 language tag such as en, fr or es-MX. und and private-use tags (x-...) name no language and are not accepted.

Message: The {field} '{locale}' is not a language tag

MESSAGE_TEMPLATE_VARIABLE_INVALID​

Malformed template variable

Variables are written {{name}} or {{ name }}, where a name is letters, digits, '_' and '.'. Every value is HTML-escaped, so {{{name}}} is not accepted.

Message: The {field} has a malformed variable: {reason}

MESSAGE_TEMPLATE_VARIABLE_UNKNOWN​

Unknown template variable

Names under customer. are the member fields the send fills, and this one isn't one of them. Use a listed customer field, or a name without the customer. prefix that the rule's templateData sends.

Message: The {field} names an unknown variable: {reason}

MESSAGING_CHANNEL_NOT_SUPPORTED​

Not available yet

Email goes through AWS_SES or LOOM_LOYALTY_SES, and SMS through LOOM_LOYALTY_SINCH (the house SMS sender). A brand's own Sinch account (SINCH) comes in a later release.

Message: {what} is not available yet

MESSAGING_CONNECTION_FIELDS_INVALID​

Fields don't match the provider

AWS_SES (the brand's own SES) needs roleArn, region and fromAddress. LOOM_LOYALTY_SES (the house sender) needs houseSlug and takes no roleArn, region, fromAddress or configurationSetName. LOOM_LOYALTY_SINCH (the house SMS sender) is SMS only and takes just a name and fromName.

Message: A {provider} connection {reason}

METADATA_BULK_UPDATE_EMPTY​

Nothing to update

A bulk metadata update must set at least one field. Add the name, description or properties to change.

Message: The patch sets no field; provide at least one to update

METADATA_CHILD_TYPE_INVALID​

Child type not allowed

A metadata value can only have children whose types are child types of its own type. Link the types first, or remove those children from the request.

Message: Invalid metadata type hierarchy: child metadata types {typeCodes} are not children of parent metadata type {parentTypeCode}

METADATA_COUNTRY_UNRESOLVED​

Country not resolved

The location's country code is not one of the countries configured in Loom Loyalty. Use a configured country code.

Message: Entity of type 'Country' and identifier '{countryCode}' unable to be resolved

METADATA_EVENT_SUB_TYPE_SOURCE_NOT_EVENT_TYPE​

Sub type source on another data type

Only an event type has a sub type, so only an event type takes a subTypeSource. Leave it out for this data type.

Message: subTypeSource applies only to event types, not {typeCode}

METADATA_EVENT_SUB_TYPE_SOURCE_SYSTEM​

Platform sub type source

The platform sets what a platform event type's sub type refers to, so it can't be changed. Leave subTypeSource out when updating this event type.

Message: Event type {code} is a platform event type; its subTypeSource is set by the platform

METADATA_EVENT_TYPE_CODE_INVALID​

Invalid event type code

An event type's code must be lowercase letters and numbers in period-separated segments, such as customer.created. Correct the code and send it again.

Message: Event type code must be lowercase letters/numbers in period-separated segments, optionally hyphenated within a segment (e.g., 'customer.created', 'external-offer.issued')

METADATA_GROUP_TYPE_MISMATCH​

Metadata doesn't fit the group

A metadata group holds only metadata of the group's own type. Remove the metadata of other types from the request.

Message: Invalid metadata type {typeCodes} for metadata group type {groupTypeCode}

METADATA_HIERARCHY_CYCLE​

Metadata hierarchy cycle

A metadata value can't be linked under itself or under one of its own descendants. Remove those children from the request.

Message: Linking these metadata entries would create a cycle: {childIds} cannot be children of {parentId}

METADATA_HIERARCHY_VIEW_LEVEL_BLANK​

Blank level

Every level of a hierarchy view must be a metadata type code. Remove empty levels.

Message: Hierarchy view levels must be metadata type codes

METADATA_HIERARCHY_VIEW_LEVEL_DUPLICATE​

Level repeated

Each metadata type can be one level of a hierarchy view only once. Remove the repeated level.

Message: Metadata type {typeCode} appears more than once in the levels

METADATA_HIERARCHY_VIEW_LEVEL_NOT_CHILD​

Levels not linked

Each level of a hierarchy view must be a child type of the level above it. Link the metadata types first, or reorder the levels.

Message: Metadata type {typeCode} is not a child type of {parentTypeCode}

METADATA_HIERARCHY_VIEW_LEVELS_REQUIRED​

Levels required

A metadata hierarchy view lists the metadata type codes of its levels, top first. Send at least one level.

Message: A hierarchy view needs at least one level

METADATA_HIERARCHY_VIEW_PARENT_NOT_IN_VIEW​

Parent not in this view

The parent metadata's type is not one of the view's levels, so the view has no nodes under it. Pass a parent from one of the view's levels, or none for the top level.

Message: Metadata {metadataId} has type {typeCode}, which is not a level of hierarchy view {viewCode}

METADATA_LOCATION_HOURS_INCOMPLETE​

Opening hours incomplete

Each day in a location's schedule needs both an opening and a closing time. Send both, or leave the day out to mark it closed.

Message: openTime and closeTime are required together

METADATA_LOCATION_HOURS_OVERNIGHT​

Overnight hours not supported

A day's closing time must be later than its opening time on the same day. Split overnight hours across two days.

Message: closeTime must be after openTime; overnight hours are not supported

METADATA_LOCATION_SCHEDULE_ENTRY_INVALID​

Incomplete schedule entry

Every entry in a location's schedule needs a day of the week and its hours. Remove empty entries.

Message: schedule entries must have a day and hours

METADATA_LOCATION_SCHEDULE_REQUIRED​

Schedule required

A location's operating hours need a schedule of days and hours. Send the schedule, or leave the operating hours out.

Message: schedule is required

METADATA_LOCATION_TIME_ZONE_INVALID​

Invalid location time zone

A location's operating hours need a concrete IANA time zone such as America/Chicago, not a relative value such as the customer's or organization's time zone.

Message: timeZone must be a concrete IANA zone ID, not a relative sentinel

METADATA_SELECTION_AMBIGUOUS​

Ids or filter, not both

A metadata selection names its rows either by ids or by a matching filter. Send exactly one of the two.

Message: Provide exactly one of ids or matching

METADATA_SELECTION_CATEGORY_MISMATCH​

Selection includes non-metadata types

The selection includes items, locations or data types, which a bulk metadata update can't change. Narrow the selection to values whose type has the METADATA category.

Message: Metadata type must be of category METADATA; not of that category: {typeCodes}

METADATA_SELECTION_REQUIRED​

Selection required

A bulk metadata update needs a selection naming the metadata to change. Send ids or a matching filter.

Message: A selection is required

METADATA_SELECTION_TOO_BROAD​

Filter matches too much metadata

The matching filter selects more metadata than one request can change. Narrow the filter, for example by type or search text.

Message: The filter matches more than {cap} metadata; narrow it to at most {cap}

METADATA_SELECTION_TOO_MANY_IDS​

Too many ids selected

The selection lists more metadata ids than one request can change. Split the ids across several requests.

Message: The selection lists more than {cap} metadata ids; send at most {cap}

METADATA_TYPE_CATEGORY_MISMATCH​

Wrong metadata type category

The request's type code names a metadata type of another category, such as an item type for a location. Use a metadata type of the category this endpoint manages.

Message: Metadata type must be of category {category}

METADATA_TYPE_DATA_MODEL_NOT_FOUND​

Metadata type data model not found

The metadata type's dataModelCode names no data model in this environment. Create and publish the model first, or fix the code.

Message: Data model {dataModelCode} does not exist.

METADATA_TYPE_DATA_MODEL_NOT_METADATA​

Metadata type data model not a metadata model

A metadata type can only link a data model that extends the metadata model. Pick a model whose parent is metadata.

Message: Data model {dataModelCode} can't describe metadata values: its parent must be metadata.

METADATA_TYPE_HIERARCHY_CYCLE​

Metadata type hierarchy cycle

A metadata type can't be linked under a type that already sits below it in the type hierarchy. Remove those child types from the request.

Message: Linking these metadata types would create a cycle: {childIds} cannot be children of {parentId}

METADATA_TYPE_SYSTEM_DATA_MODEL_FIXED​

System metadata type data model fixed

System metadata types such as COUNTRY and LOCATION carry a fixed data model. Omit dataModelCode or send the type's own model.

Message: Metadata type {typeCode} is a system type: its data model is {dataModelCode} and can't be changed.

METADATA_TYPE_UNRESOLVED​

Metadata type not resolved

The request names a metadata type code that does not exist in this organization. Use the code of an existing metadata type, or create the type first.

Message: Entity of type 'MetadataType' and identifier '{typeCode}' unable to be resolved

METRICS_CATEGORY_NOT_ALLOWED​

Metrics category not allowed

This metric category is not available on this deployment. List the metric categories to see the ones you can query.

Message: Category not allowed: {category}

METRICS_CODES_REQUIRED​

Metric codes required

A batch metrics query needs at least one metric code. Send the codes in metricCodes.

Message: metricCodes is required for batch queries

METRICS_GROUP_BY_LABEL_INVALID​

Metric label malformed

A groupBy label must start with a letter or underscore and hold only letters, digits and underscores. Fix the label.

Message: Invalid label format: '{label}'. Labels must match pattern: {pattern}

METRICS_GROUP_BY_LABEL_RESERVED​

Metric label reserved

Labels that start with two underscores are internal and cannot be grouped by. Choose another label.

Message: Label names starting with '__' are reserved by Prometheus: {label}

METRICS_GROUP_BY_LABEL_UNAVAILABLE​

Metric label unavailable

The metric cannot be grouped by this label. Group by one of the labels the message lists.

Message: Label '{label}' is not available for metric {metricCode}. Available labels: {availableLabels}

METRICS_SCOPE_INVALID​

Metrics scope invalid

The scope must be ORGANIZATION or ENVIRONMENT. Send one of those, or leave scope out for ORGANIZATION.

Message: Invalid scope: {scope}. Valid values are: ORGANIZATION, ENVIRONMENT

OFFER_CATEGORY_UNRESOLVED​

Offer category not found

The categoryCode does not name an offer category in this organization. Use a configured offer category code, or leave it out.

Message: Entity of type 'OfferCategory' and identifier '{categoryCode}' unable to be resolved

OFFER_COUPON_CODE_GROUP_UNRESOLVED​

Coupon code group not found

The couponCodeGroupCode does not name a metadata group in this organization. Create the group first or fix the code.

Message: Entity of type 'MetadataGroup' and identifier '{couponCodeGroupCode}' unable to be resolved

OFFER_COUPON_TYPE_UNRESOLVED​

Coupon type not found

The couponTypeCode does not name a coupon type in this organization. Use a configured coupon type code.

Message: Entity of type 'CouponType' and identifier '{couponTypeCode}' unable to be resolved

OFFER_CUSTOMER_AUDIENCE_UNRESOLVED​

Customer audience not found

The customerAudienceId does not name a customer audience in this organization. Create the audience first or fix the customerAudienceId.

Message: Entity of type 'CustomerAudience' and identifier '{customerAudienceId}' unable to be resolved

OFFER_DISCOUNT_CURRENCY_TYPE_UNRESOLVED​

Discount currency not found

The discountCurrencyTypeCode does not name a fiat currency type in this organization. The message lists the valid codes, or says how to create the first one.

Message: discountCurrencyTypeCode '{discountCurrencyTypeCode}' is not a fiat currency type in this organization. {validValues}

OFFER_DISCOUNT_PARAMETERS_INVALID​

Coupon discount parameters invalid

A coupon offer's discount parameters do not fit its couponDiscountType. discountValue must be above zero (at most 100 for PERCENTAGE), minimumSpend must not be negative, BUY_X_GET_Y needs both buyQuantity and getQuantity of at least 1 and other types take neither, and a lineScope needs a field and at least one value. The message names the field at fault.

Message: {field} {problem}

OFFER_PARTNER_UNSUPPORTED​

Offer partner not supported

The partnerCode does not name an offer partner Loom Loyalty integrates with. Use a supported partner code, such as loom-loyalty-rewards.

Message: No offer partner integration exists for partner code '{partnerCode}'

ORGANIZATION_BILLING_MODE_NOT_SELECTABLE​

Billing mode not selectable

An organization is billed through AWS Marketplace only when its buyer subscribes there and links it. Choose STANDARD_TRIAL, NO_TRIAL or OUTSIDE_STRIPE.

Message: Billing mode {billingMode} is set by its marketplace, not chosen when creating an organization

ORGANIZATION_CUSTOM_DOMAIN_NOT_HELD​

Custom domain not held

The organization has no custom domain with this hostname on this surface, so there is nothing to review. Check the organization, the surface (HUB or PORTAL) and the hostname.

Message: Organization '{organizationId}' holds no {surface} custom domain '{hostname}'

ORGANIZATION_CUSTOM_DOMAIN_REVIEW_REASON_REQUIRED​

Rejection reason required

Rejecting a custom domain takes it down, so the decision needs a reason for the audit log. Send a reason.

Message: A reason is required to reject a custom domain

ORGANIZATION_DELETION_CODE_MISMATCH​

Confirmation code mismatch

confirmationCode must equal the organization's code, ignoring case.

Message: The confirmation code does not match the organization's code.

ORGANIZATION_IMAGE_INVALID​

Image not accepted

Upload a PNG, JPEG or WebP image of at most 5 MB. The format is read from the file's content, so a renamed file of another type is refused; convert an SVG to PNG first.

Message: {reason}

ORGANIZATION_OWNER_EMAIL_REQUIRED​

Owner email required

The organization has no owner email on record, so the invitation has no recipient. Send ownerEmail in the request.

Message: The organization has no owner email; provide one

ORGANIZATION_OWNERSHIP_ALREADY_OWNER​

Already the owner

newOwnerUserId is already the organization's owner.

Message: That user already owns this organization.

ORGANIZATION_OWNERSHIP_TARGET_NOT_ADMIN​

New owner is not an admin

newOwnerUserId must be a login user holding the organization's org-admin role.

Message: Ownership can be transferred only to a signed-in admin of this organization.

ORGANIZATION_PROTECTED​

Organization protected

The platform's own organization cannot be deleted or have its ownership transferred.

Message: The platform's own organization cannot be deleted or transferred.

ORGANIZATION_SYSTEM_STATUS_LOCKED​

Platform organization status locked

The organization that runs Loom Loyalty itself always stays active. Choose a customer organization.

Message: The platform's own organization cannot be suspended or cancelled

ORGANIZATION_TIER_WITHOUT_SIGN_IN​

Tier has no sign-in

Organizations on this tier have no sign-in, so nobody could accept the owner invitation. Choose a tier with sign-in.

Message: Tier {tier} has no sign-in integration, so its owner cannot be invited

ORGANIZATION_WHITE_LABEL_BRAND_REQUIRES_OUTSIDE_STRIPE​

White-label brand needs outside billing

A reseller bills its own clients, so an organization on a Stripe-billed tier can carry a white-label brand only when it is billed outside Stripe. Create it with billingMode OUTSIDE_STRIPE, or choose a tier without Stripe billing.

Message: Tier {tier} is billed through Stripe, so a white-label brand needs billing mode OUTSIDE_STRIPE

ORGANIZATION_WHITE_LABEL_BRAND_SLUG_RESERVED​

Brand slug reserved

This slug names one of Loom Loyalty's own hosts, so no brand can use it. Choose a different slug.

Message: Brand slug {slug} is reserved

PACKAGE_ENVIRONMENT_REQUIRED​

Environment required

A partner package is installed into a single environment. Call with an API key or token bound to the environment to install it into.

Message: Package {packageCode} is a partner package and is installed into one environment; call with a key or token bound to an environment

PACKAGE_MANIFEST_CODE_MISMATCH​

Manifest code mismatch

When a request carries a manifest, its code must be the manifest's code.

Message: Request code {packageCode} does not match the manifest's code {manifestCode}

PACKAGE_MANIFEST_INVALID​

Invalid manifest

The manifest does not match the loom-loyalty-config.v1 schema, or a reference in it names a record that neither the manifest nor the organization has. Fix the problems the message lists.

Message: Manifest {packageCode} is invalid: {problems}

PACKAGE_MANIFEST_REQUIRED​

Manifest required

A tenant manifest's installation is changed by applying the manifest again (POST /package-installations with the manifest), not by re-installing it: the manifest is not stored.

Message: Installation {packageInstallationId} is of manifest {packageCode}; apply the manifest again instead

PACKAGE_TARGET_ENVIRONMENT_NOT_FOUND​

Target environment not found

targetEnvironmentCode names no environment of the organization. List the organization's environments to find the code.

Message: The organization has no environment with code {environmentCode}

PACKAGE_TENANT_VALUE_PROGRAM_UNRESOLVED​

Unknown program in tenant value

A tenant value names a program that does not exist in the caller's environment. Check the program code, or create the program first.

Message: Package {packageCode} tenant value '{tenantValueName}' names program {programCode}, which does not exist

PACKAGE_TENANT_VALUES_INVALID​

Invalid tenant values

The tenant values do not match what the package asks for: a required value is missing, has the wrong type, or is not one of the allowed values. Fix the values the message lists.

Message: Package {packageCode} tenant values are invalid: {problems}

PERIOD_FIXED_DATE_TIME_PERIOD_NOT_ACTIVE​

Event outside fixed period

The event's date falls outside the resource's fixed period, so it cannot count toward it. Send an event dated inside the period or widen the period.

Message: fixedDateTimePeriod is not active for the eventDateTime

PERIOD_FIXED_DATE_TIME_PERIOD_REQUIRED​

Fixed period missing

A FIXED duration needs its fixedDateTimePeriod. Set the start and end of the fixed period on the resource.

Message: fixedDateTimePeriod is null when it is required

PROGRAM_ACCOUNT_EARNER_REQUIRED​

Earning member required

Every entry in a group's wallet records who earned or spent it. Set attributedCustomerId to the member who earned the points.

Message: An issue to customer group '{customerGroupId}' needs attributedCustomerId, the member who earned it

PROGRAM_ACCOUNT_REDEEMER_REQUIRED​

Redeeming member required

Spending a group's points records who spent them. Set attributedCustomerId to the redeeming member, who must be the group's owner or a member granted canRedeem.

Message: A withdrawal from customer group '{customerGroupId}' needs attributedCustomerId, the member redeeming

PROGRAM_BANK_EXPIRY_RULE_UNRESOLVED​

Expiry rule not resolved

The expiryRuleId does not name an expiry rule in this organization. Create the expiry rule first or fix the expiryRuleId.

Message: Entity of type 'ExpiryRule' and identifier '{expiryRuleId}' unable to be resolved

PROGRAM_BANK_PENDING_RULE_UNRESOLVED​

Pending rule not resolved

The pendingRuleId does not name a pending rule in this organization. Create the pending rule first or fix the pendingRuleId.

Message: Entity of type 'PendingRule' and identifier '{pendingRuleId}' unable to be resolved

PROGRAM_CURRENCY_AMOUNT_NOT_POSITIVE​

Amount not positive

Issue and withdraw amounts must be greater than zero; the event type sets the direction. Send a positive amount.

Message: Program currency amount must be strictly positive but was {amount}

PROGRAM_CURRENCY_COST_INVALID​

Cost per point invalid

costPerPoint and costCurrencyCode go together: set both or neither. costPerPoint is 0 or more, and costCurrencyCode is an ISO 4217 code such as USD.

Message: {reason}

PROGRAM_CURRENCY_EVENT_DATA_INVALID​

Ledger entry type not supported

The body is neither an issue nor a withdrawal of program currency. Send an issue or withdraw body.

Message: programCurrencyEventData is not valid

PROGRAM_CURRENCY_HOLDER_TYPE_INVALID​

Entity type can't hold points

Only a CUSTOMER or a CUSTOMER_GROUP holds a points balance. Use one of those entity types in the path.

Message: Entity type '{entityType}' can't hold points

PROGRAM_CURRENCY_INSUFFICIENT_FUNDS​

Insufficient funds

The customer's unexpired balance in this currency is lower than the amount to withdraw. Withdraw less or issue more first.

Message: Insufficient funds for withdrawal - program account id {programAccountId} - amount {amount}

PROGRAM_CURRENCY_ISSUANCE_SOURCE_INVALID​

Issuance source not allowed

Ledger entries must come from an event rule or a flow. Set issuanceSourceType to EVENT_ENGINE or FLOW.

Message: Program currency issuanceSourceType must be EVENT_ENGINE or FLOW but was {issuanceSourceType}

PROGRAM_CURRENCY_TYPE_UNRESOLVED​

Currency type not resolved

The currencyTypeCode does not name a currency type in this organization. The message lists the valid codes, or says how to create the first currency type.

Message: currencyTypeCode '{currencyTypeCode}' is not a currency type in this organization. {validValues}

PROGRAM_LEDGER_LIABILITY_REPORT_PERIOD_INVALID​

Liability report period invalid

Pass periodStart and periodEnd as ISO dates (YYYY-MM-DD), with periodStart on or before periodEnd, periodEnd before today (UTC), and at most 366 days from start to end inclusive.

Message: {reason}

PROGRAM_LEDGER_STATEMENT_PAGE_TOO_DEEP​

Page too deep

A ledger's statement list pages through at most its first 10,000 statements. Narrow the list with startDateTime, endDateTime, status or programAccountId instead of paging further.

Message: Page {page} of size {size} starts past the first {maxOffset} statements

PROGRAM_PARTNER_TYPE_UNRESOLVED​

Partner type not found

The typeCode does not name a partner type in this organization. Use a configured partner type code.

Message: Entity of type 'PartnerType' and identifier '{typeCode}' unable to be resolved

PROGRAM_PARTNER_UNRESOLVED​

Partner not found

The partnerId does not name a partner in this organization. Create the partner first or fix the partnerId.

Message: Entity of type 'Partner' and identifier '{partnerId}' unable to be resolved

PROGRAM_REFERRAL_CODE_AFFIX_TOO_LONG​

Referral code setting too long

The referral code prefix, suffix or separator is longer than allowed. Shorten it.

Message: referralCodeInformation.{field} must be at most {max} characters

PROGRAM_REFERRAL_CODE_PART_TOO_LONG​

Referral code part too long

A referral code part length is larger than allowed. Lower part1Length or part2Length.

Message: referralCodeInformation.{field} must be at most {max}

PROGRAM_REFERRAL_CODE_SEPARATOR_INVALID​

Referral code separator not allowed

A referral code separator must be visible characters only. Remove spaces and control characters from the separator.

Message: referralCodeInformation.separator must not contain spaces or control characters

PROGRAM_REFERRAL_CODE_TOO_LONG​

Referral codes too long

The referral code settings produce codes longer than a referral code can be. Shorten the prefix, suffix or separator, or lower the part lengths.

Message: referralCodeInformation generates codes longer than {max} characters

PROGRAM_REFERRAL_CODE_TYPE_INVALID​

Referral code type not allowed

Loom Loyalty always generates referral codes, so the referral code type must generate them. Set referralCodeInformation.type to GENERATED or GENERATED_IF_NOT_PROVIDED.

Message: referralCodeInformation.type must be GENERATED or GENERATED_IF_NOT_PROVIDED

PROGRAM_TEMPLATE_CODE_REQUIRED​

Template code required

A new program template needs a code. Send a non-blank code.

Message: code is required

PROGRAM_TEMPLATE_DATA_MISSING_KEYS​

Template data incomplete

Template data must contain the program, currencies and eventRules keys. Add the keys the message lists.

Message: template_data is missing required keys: {missingKeys}

PROGRAM_TEMPLATE_DATA_REQUIRED​

Template data required

A program template needs its template data. Send templateData with the program, currencies and event rules.

Message: template_data is required and cannot be null

PROGRAM_TEMPLATE_DATA_TOO_LARGE​

Template data too large

Template data is limited to 1MB once serialized. Remove content from the template, or split it into smaller templates.

Message: template_data exceeds maximum allowed size of 1MB (actual size: {actualSize} bytes)

PROGRAM_TEMPLATE_SYSTEM_FLAG_NOT_ALLOWED​

System flag not allowed

Only Loom Loyalty creates system templates. Save the template without the system flag.

Message: Cannot create or update templates with is_system=true. System templates can only be created via seed migrations.

PROGRAM_TYPE_UNRESOLVED​

Program type not found

The typeCode does not name a program type in this organization. The message lists the valid codes, or says how to create the first program type.

Message: typeCode '{typeCode}' is not a program type in this organization. {validValues}

RECIPE_CODE_MISMATCH​

Recipe code mismatch

A recipe's code can't change. Send the same code in the path and the body.

Message: The body's code {bodyCode} does not match the path's code {code}

RECIPE_INVALID​

Invalid recipe

A recipe's template must name records by code, every {"$input"} must name a declared input, and the template must hold a rule or a flow for the recipe's kind. Fix the problems the message lists.

Message: Recipe {code} is invalid: {problems}

RESOLUTION_FAILED​

Reference not resolved

The request refers to a code or id that does not exist in this environment. Create it first or fix the reference.

Message: A resource the request refers to could not be found.

REWARDS_PORTAL_CONFIG_FIELDS_REQUIRED​

Portal config fields required

A new rewards portal configuration needs a programMode, a programName and a status. Set all three on the request.

Message: programMode, programName, and status are required

REWARDS_PORTAL_CUSTOM_DOMAIN_RESERVED​

Portal custom domain reserved

Hostnames under the Loom Loyalty portal domain are reserved for platform hostnames, which come from the organization code. Use a domain you own as the custom domain.

Message: customDomain may not be inside the platform portal domain; the platform hostname is derived from the organization code

REWARDS_PORTAL_DISPLAY_EVENT_RULE_UNRESOLVED​

Portal display event rule not resolved

The displayEventRuleCode names no event rule in this environment. Use the code of an existing event rule, or leave displayEventRuleCode out.

Message: displayEventRuleCode must resolve to an event rule in this environment

REWARDS_PORTAL_DISPLAY_TARGET_UNRESOLVED​

Portal display target not resolved

The displayTargetCode names no counter target with an achievement value in this environment. Use the code of such a target, or leave displayTargetCode out.

Message: displayTargetCode must resolve to a counter target with an achievement value

REWARDS_PORTAL_ENTITLEMENT_SOURCE_REQUIRED​

Portal entitlement source required

A rewards portal entitlement needs a source that says how it was granted. Set source on the request.

Message: source is required

REWARDS_PORTAL_ENVIRONMENT_UNRESOLVED​

Portal environment not resolved

The organization environment named for the rewards portal could not be found, usually because it was deleted. Check the environment id.

Message: Entity of type 'OrganizationEnvironment' and identifier '{organizationEnvironmentId}' unable to be resolved

REWARDS_PORTAL_HOSTNAME_INVALID​

Portal hostname invalid

The hostname is not a valid DNS name. Use letters, digits and hyphens in dot-separated labels, such as rewards.example.com.

Message: hostname is invalid

REWARDS_PORTAL_HOSTNAME_PORT_INVALID​

Portal hostname port invalid

The hostname carries a port that is not a number from 0 to 65535. Remove the port or correct it.

Message: hostname port is invalid

REWARDS_PORTAL_HOSTNAME_REQUIRED​

Portal hostname required

The request names no hostname. Send the portal's hostname, such as rewards.example.com.

Message: hostname is required

REWARDS_PORTAL_ORGANIZATION_UNRESOLVED​

Portal organization not resolved

The caller's organization could not be found while setting up its rewards portal. Sign in again; if it continues, contact support.

Message: Entity of type 'Organization' and identifier '{organizationId}' unable to be resolved

REWARDS_PORTAL_SETTING_INVALID​

Portal setting invalid

A program terms, privacy policy, welcome copy, support email or support phone value breaks its limits. Policies hold at most 20,000 characters per locale. Welcome copy holds at most 120 characters for the heading, 2,000 for the body, 40 for the button label and 160 for the footer and each of at most 3 bullets, per locale. Each of these fields holds at most 20 locales, counting what is already stored. Locale keys must be language tags such as en, es or es-MX. The support email must be a valid address of at most 254 characters, and the support phone holds at most 40 characters with no angle brackets or control characters.

Message: {field} is invalid

REWARDS_PORTAL_SUBDOMAIN_INVALID​

Portal subdomain invalid

The rewards portal subdomain comes from the organization code, and this code does not make a valid DNS label of at most 63 letters, digits and hyphens. Contact support to change the organization code.

Message: The organization code can't be used as a rewards portal subdomain: {reason}

REWARDS_PORTAL_TENANT_CONTEXT_MISSING​

Portal tenant context missing

The request carried no organization or environment, so Loom Loyalty cannot tell whose rewards portal it is. Sign in to an organization, select an environment and send the request again.

Message: No organization and environment were selected for this request

ROLE_INACTIVE​

Role is inactive

An inactive role cannot be assigned to a user. Activate the role first, or assign another role.

Message: Cannot assign inactive role

ROLE_SCOPE_USER_TYPE_MISMATCH​

Scope not for this role

The scope is limited to another kind of user than the role is for. Add only scopes that apply to the role's user type.

Message: Scope {scopeCode} (userType: {scopeUserType}) is not compatible with role {roleCode} (userType: {roleUserType})

ROLE_UNRESOLVED​

Role not resolved

The request names a role that does not exist in the caller's organization. List the roles and send the id of one of them.

Message: Role not found

ROLE_USER_TYPE_MISMATCH​

Role not for this user type

The role is limited to another kind of user, for example a role for API clients assigned to a login user. Assign a role made for this user type.

Message: Role {roleCode} (userType: {roleUserType}) is not compatible with user type {userType}

RULE_ACTION_COMPUTED_PROPERTIES_IN_FLOW​

Computed offer properties not allowed in a flow

Computed offer properties only work in event rules. Move the action to a rule, or use fixed offer properties in the flow step.

Message: computedProperties on issueCustomerExternalOffer aren't supported in a flow step; use a rule

RULE_ACTION_COMPUTED_PROPERTIES_INVALID​

Invalid computed offer properties

One or more computed offer properties are incomplete or out of range. Fix the problems listed in the message.

Message: {errors}

RULE_ACTION_COMPUTED_PROPERTIES_UNAVAILABLE​

Computed offer properties not available

Computed offer properties are not switched on for this environment. Remove them, or ask Loom Loyalty support to enable them.

Message: computedProperties on issueCustomerExternalOffer are not available in this environment yet

RULE_ACTION_COMPUTED_PROPERTY_NO_VALUE​

Computed property has no value

The event had no value at the property's path, so the offer was not issued. Check the path, or make sure the events the rule matches carry that value.

Message: Computed offer property '{name}' found no value at {path}

RULE_ACTION_COMPUTED_PROPERTY_NOT_A_NUMBER​

Computed property is not a number

The property divides or rounds its value, but the event's value at its path is not a number. Point the path at a number, or drop divideBy and decimalPlaces.

Message: Computed offer property '{name}' needs a number at {path}

RULE_ACTION_COMPUTED_PROPERTY_OUT_OF_BOUNDS​

Computed property number too large

The event's value at the property's path has too many digits to compute with. Check the value the event sends.

Message: Computed offer property '{name}' can't be computed: its number is out of bounds

RULE_ACTION_COMPUTED_PROPERTY_PATH_OUT_OF_CONTEXT​

Computed property path not allowed

A computed offer property can only read values the rule's context provides. Change the path to one the rule can read.

Message: Computed offer property path {path} reads outside the rule's context

RULE_ACTION_COMPUTED_PROPERTY_ROUNDING​

Computed property needs rounding

The computed value has more decimal places than the property keeps, and its rounding algorithm refuses to round. Choose a rounding algorithm that rounds, or allow more decimal places.

Message: Computed offer property '{name}' needs rounding to {decimalPlaces} decimal places, which {rounding} doesn't allow

RULE_ACTION_COMPUTED_VALUES_AUTHORED​

Computed values can't be authored

computedPropertyValues is filled in when the rule runs. Remove it from the action and declare computedProperties instead.

Message: computedPropertyValues on issueCustomerExternalOffer are computed when the rule runs and can't be authored

RULE_ACTION_DISCOUNT_NOT_AVAILABLE​

Discount action not available yet

Discount actions are being rolled out and can't be added to a rule or flow yet. Remove the action and try again once discounts are available.

Message: The {action} action is not available yet

RULE_ACTION_GROUP_RECIPIENT_INVALID​

Group recipient incomplete

A MEMBER_GROUP recipient names the customer group type to pay (customerGroupTypeCode) and what happens when the member has none (fallback: SKIP or MEMBER). Set both.

Message: An issue points action with recipient MEMBER_GROUP needs {missing}

RULE_ACTION_GROUP_RECIPIENT_UNAVAILABLE​

Group recipient not available

An issue points action can't pay the member's customer group yet in this environment. Remove the recipient to pay the member, or ask Loom Loyalty support to enable it.

Message: Paying points to the member's customer group is not available in this environment yet

RULE_ACTION_GROUP_TYPE_NOT_FOUND​

Customer group type not found

The recipient names a customer group type that doesn't exist in this environment. Create the CUSTOMER_GROUP_TYPE metadata entry first, or use an existing type code.

Message: Customer group type '{customerGroupTypeCode}' not found

RULE_ACTION_NEXT_BEST_OFFER_IN_FLOW​

Next-best offer action not allowed in a flow

The next-best offer action only runs in event rules. Move the action to a rule.

Message: Invalid actionsExpression on step '{stepKey}': the {action} action is not supported in a flow; use a rule

RULE_ACTION_NEXT_BEST_OFFER_INVALID​

Invalid next-best offer action

A next-best offer action is missing a value or has one it can't use. Fix the problems listed in the message.

Message: Invalid {action} action: {errors}

RULE_ACTION_NEXT_BEST_OFFER_UNAVAILABLE​

Next-best offer action not available

The next-best offer action is not switched on for this environment. Remove the action, or ask Loom Loyalty support to enable it.

Message: Invalid eventActionsExpression: the {action} action is not available yet

RULE_ACTION_WEBHOOK_PUSH_INVALID​

Invalid webhook push action

A webhookPush action is missing a value or has one it can't use. Fix the problems listed in the message.

Message: Invalid webhookPush action: {errors}

RULE_ACTION_WEBHOOK_PUSH_RESERVED_TRIGGER​

Reserved trigger event type

Event types starting with webhook.push. are reserved for webhook deliveries and can't trigger a rule or flow. Choose a different event type.

Message: Cannot use the reserved webhook.push. namespace as a trigger event type

SCOPE_UNRESOLVED​

Scope not resolved

The request names a scope that does not exist. List the scopes and send the ids of existing ones.

Message: Scope not found: {scopeId}

STRIPE_BILLING_TERMS_NOT_APPLICABLE​

Billing terms don't apply

Billing terms set up Stripe billing, so they take STANDARD_TRIAL or NO_TRIAL, on a tier billed through Stripe, for an organization not billed outside Stripe and not the platform's own.

Message: Billing terms do not apply: {reason}

STRIPE_BILLING_TERMS_PRICE_INVALID​

Price not usable

Each custom price must be an active, recurring price in this deployment's Stripe account: the flat price licensed, the overage price metered. Without a custom flat price, the tier must have a standard one on the chosen billing interval. Check the prices in the Stripe dashboard.

Message: Stripe price '{priceId}' is not usable: {reason}

TARGET_COMPLETION_TYPE_UNRESOLVED​

Completion target type not found

The target names a completion target type that does not exist. Check the code, or create the type first.

Message: Entity of type 'CompletionTargetType' and identifier '{completionTargetTypeCode}' unable to be resolved

TARGET_COUNTER_TYPE_UNRESOLVED​

Counter target type not found

The target names a counter target type that does not exist. Check the code, or create the type first.

Message: Entity of type 'CounterTargetType' and identifier '{counterTargetTypeCode}' unable to be resolved

TARGET_COUNTING_SCOPE_INVALID​

Unsupported counting scope

specifiedEntityType PROGRAM with specifiedEntityId set to one of the target's programIds makes a counter target one shared counter for that program. It needs a counter target with no customer audience, no registration, no reregisterOnAchievement and no SLIDING period, and the program must exist. Leave both unset to count per member.

Message: The target's specifiedEntityType and specifiedEntityId can't be used: {reason}

TARGET_COUNTING_SCOPE_LOCKED​

Counting scope is locked

A target that has counted events, or that an event rule names, keeps the entity it counts for. You can still change its targetValue. To count for another entity, create a new target, or remove the target from its rules first.

Message: Target '{targetId}' has already counted events or is named by an event rule, so its specifiedEntityType and specifiedEntityId can't change

TARGET_CUSTOMER_AUDIENCE_UNRESOLVED​

Customer audience not found

The target names a customer audience that does not exist. Check the ID, or create the audience first.

Message: Entity of type 'CustomerAudience' and identifier '{customerAudienceId}' unable to be resolved

TARGET_METADATA_TYPE_UNRESOLVED​

Metadata type not found

The target names a metadata type that does not exist. Check the code, or create the metadata type first.

Message: Entity of type 'MetadataType' and identifier '{metadataTypeCode}' unable to be resolved

UNPROCESSED_EVENT_DISMISS_MEMBER_NOT_ALLOWED​

Member not allowed on dismissal

Leave customerId out when dismissing events; it only applies to a RETRY.

Message: A dismissal cannot choose a member

UNPROCESSED_EVENT_DISMISS_NOTE_REQUIRED​

Dismissal reason required

Send a note saying why the events are being dismissed.

Message: A dismissal needs a note giving the reason

UNPROCESSED_EVENT_MEMBER_CHOICE_NOT_ALLOWED​

Member choice not allowed

The event already has a member and a rule failed on it, so it can only be retried as it is. Leave customerId out for rule failures.

Message: A member can only be chosen for an event that matched no member

VALIDATION_FAILED​

Validation failed

A value in the request breaks a rule. The message names the rule, and fieldErrors names each field.

Message: The request is not valid.

VALIDATION_PROFILE_RESULT_INVALID​

Invalid validation result

A validation run result must be PASSED, FAILED or INCONCLUSIVE. Send one of those values.

Message: Invalid lastResult value: {lastResult}. Must be one of: {allowedResults}

VALIDATION_PROFILE_SCENARIO_CATEGORY_REQUIRED​

Scenario category required

Every scenario in a validation profile needs a category. Add a category to each scenario.

Message: Each scenario must have a 'category' field

VALIDATION_PROFILE_SCENARIO_NAME_DUPLICATE​

Duplicate scenario name

Scenario names must be unique within a validation profile, because run results are matched by name. Rename one of the scenarios.

Message: Duplicate scenario name: {scenarioName}

VALIDATION_PROFILE_SCENARIO_NAME_REQUIRED​

Scenario name required

Every scenario in a validation profile needs a name. Add a name to each scenario.

Message: Each scenario must have a 'name' field

VALIDATION_PROFILE_TOO_MANY_SCENARIOS​

Too many scenarios

A validation profile holds at most 100 scenarios. Remove scenarios, or split them across profiles.

Message: Scenarios array must not exceed {maxScenarios} entries, got {scenarioCount}

WEBHOOK_CONNECTOR_CREATE_REQUIRES_CONNECT_FLOW​

Connector needs connect flow

OAuth connectors such as SLACK are added through the connect flow, which grants the destination URL. Start the connector's connect flow instead of creating the endpoint.

Message: {connectorKind} connectors must be added via the connect flow, not by creating an endpoint directly

WEBHOOK_CONNECTOR_KIND_UNKNOWN​

Unknown connector kind

The connector kind in the path is not one Loom Loyalty supports. Use a kind from the connector list, such as SLACK.

Message: Unknown connector kind: {connectorKind}

WEBHOOK_CONNECTOR_NOT_CONFIGURED​

Connector not configured

This deployment has no OAuth app set up for the connector, so it cannot be connected. Contact support to enable it.

Message: {connectorKind} connector is not configured

WEBHOOK_CONNECTOR_NOT_OAUTH​

Not an OAuth connector

Only OAuth connectors such as SLACK use the connect flow. Create an endpoint for this connector with its URL instead.

Message: {connectorKind} is not an OAuth connector

WEBHOOK_CONNECTOR_SLACK_AUTHORIZATION_FAILED​

Slack authorization failed

Slack did not accept the authorization code from the connect flow. Start the Slack connect flow again.

Message: Slack authorization failed

WEBHOOK_CONNECTOR_SLACK_URL_MISSING​

Slack webhook URL missing

Slack granted access without an incoming webhook, usually because no channel was chosen. Start the Slack connect flow again and pick a channel.

Message: Slack authorization did not return an incoming webhook URL

WEBHOOK_CONNECTOR_UPDATE_REQUIRES_CONNECT_FLOW​

Connector update not allowed

An endpoint cannot be switched to an OAuth connector such as SLACK by an update. Leave connectorKind out, or add the connector through its connect flow.

Message: {connectorKind} connectors must be added via the connect flow, not by updating an endpoint

WEBHOOK_DELIVERY_REFUSED​

Webhook delivery refused

The endpoint's host now resolves to a private or local address, so Loom Loyalty will not send it a retry, recovery or test message. Update the endpoint's URL to a public https address.

Message: Delivery refused: this endpoint's URL does not resolve to a public address. Update the endpoint's URL and try again.

WEBHOOK_ENDPOINT_CREDENTIAL_NOT_ACCEPTED​

Credential not accepted

Only a connector that sends with an API key, such as KLAVIYO, takes a credential. Remove credential from the request.

Message: This endpoint takes no credential

WEBHOOK_ENDPOINT_CREDENTIAL_REQUIRED​

Credential required

This connector needs the destination's API key. Set credential on the request.

Message: credential is required for a {connectorKind} endpoint

WEBHOOK_ENDPOINT_FIELD_TOO_LONG​

Webhook endpoint field too long

A webhook endpoint's url can be at most 2048 characters and its description at most 1024. Shorten the field and try again.

Message: Webhook endpoint {field} is longer than {maxLength} characters

WEBHOOK_ENDPOINT_TYPE_REQUIRED​

Endpoint type required

A webhook endpoint needs an endpointType. Set endpointType on the request.

Message: endpointType is required

WEBHOOK_ENDPOINT_URL_NOT_SETTABLE​

Endpoint URL not settable

This connector sends to a destination the platform sets, so the request may not carry a url. Remove url from the request.

Message: A {connectorKind} endpoint's url is set by the platform

WEBHOOK_ENDPOINT_URL_REQUIRED​

Endpoint URL required

This webhook endpoint needs a url. Set url on the request.

Message: url is required

WEBHOOK_INGEST_SHOPIFY_SECRET_REQUIRED​

Shopify signing secret required

Loom Loyalty verifies Shopify's signature on every inbound webhook, so a Shopify ingest source needs the store's webhook signing secret. Copy it from the Shopify admin and connect the store again.

Message: A Shopify ingest source requires the store's webhook signing secret

WEBHOOK_INGEST_TRANSFORM_TOO_LARGE​

Ingest transformation too large

An ingest source's transformation is limited in size. Shorten the transformation and apply it again.

Message: An ingest transformation may be at most {maxBytes} bytes

WEBHOOK_KLAVIYO_EVENT_TYPE_NOT_SUPPORTED​

Event type not sent to Klaviyo

A Klaviyo endpoint receives only loyalty moments: program.bank.program.currency.issued, program.bank.program.currency.withdrawn, customer.tier.issued, customer.coupon.issued and customer.badge.issued. Remove the other event types.

Message: Klaviyo does not receive event type '{eventType}'

WEBHOOK_MESSAGE_CURSOR_INVALID​

Invalid cursor

The cursor was not returned by this list. Omit it to get the first page, or pass the nextCursor from the previous page.

Message: The pagination cursor is not valid

WEBHOOK_RECOVERY_WINDOW_INVALID​

Recovery window invalid

The end of a delivery recovery window must be later than its start. Send an untilDateTime after sinceDateTime, or leave untilDateTime out.

Message: Recovery window 'untilDateTime' must be after 'sinceDateTime'

WEBHOOK_URL_NOT_ALLOWED​

Webhook URL not allowed

Webhook URLs must be well-formed, use https, and point to a public host rather than a private or local address. Use a public https URL.

Message: Webhook URL is not allowed: {reason}

401 Unauthorized​

AUTH_SUBJECT_CLAIM_MISSING​

Credential has no subject

The sign-in token does not carry the subject that identifies the user at the identity provider. Sign in again to get a complete token.

Message: sub claim not available

AUTH_UNSUPPORTED_AUTHENTICATION​

Unsupported credential

The request is authenticated with a credential this endpoint cannot use. Call it with a Loom Loyalty user session token or API key.

Message: Unsupported authentication type

AUTH_USER_ID_UNAVAILABLE​

Credential has no user

The credential does not identify a Loom Loyalty user, so there is nothing to look up for it. Sign in again, or call with a credential issued to a user or API client.

Message: User ID not available

CUSTOMER_PORTAL_AUTHENTICATION_UNSUPPORTED​

Unsupported authentication

This endpoint accepts only a rewards portal member's token. Sign in through the rewards portal.

Message: Unsupported authentication type

CUSTOMER_PORTAL_CUSTOMER_UNRESOLVED​

Portal customer not resolved

The portal member's sign-in is not linked to a customer. Enroll the member before calling this endpoint.

Message: Portal customer is not resolved

DEVICE_CLAIM_AUTHENTICATION_UNSUPPORTED​

Unsupported authentication for device claim

Device claims need a signed-in session. Sign in to the dashboard and claim the device from there.

Message: Unsupported authentication type

DEVICE_CREDENTIAL_REQUIRED​

Device credential required

This endpoint answers only a claimed device's own credential. Call it with the credential the device received when it was claimed.

Message: Device credential required

UNAUTHORIZED​

Unauthorized

The request has no valid credentials. Sign in again or send a valid access token or API key.

Message: Authentication is required to access this resource.

402 Payment Required​

PAYMENT_REQUIRED​

Payment required

The organization's billing status blocks the request. An organization admin can resolve it on the Billing page.

Message: This organization's subscription does not allow the request.

403 Forbidden​

Analytics consent needs a signed-in user

An analytics consent choice belongs to a person signed in to Loom Loyalty, not to an API key, service token or delegated session. Call this as the signed-in user.

Message: Only a signed-in user has an analytics consent choice

ANALYTICS_PLAN_REQUIRED​

Analytics needs a paid plan

The organization is on the free plan, which does not include analytics. Upgrade the plan on the Billing page.

Message: Analytics requires a paid plan

CUSTOMER_COUPON_USE_PORTAL_NOT_AVAILABLE​

Member coupon use not available

Member redemption is not turned on for this environment, so a rewards portal member cannot mark a coupon used. Staff can still record the use.

Message: Members cannot mark their own coupons used in this environment

CUSTOMER_FRAUD_MODE_CHANGE_REFUSED​

Fraud mode change refused

An API key or other integration can only tighten fraud mode, from logging to blocking. Moving back from blocking to logging needs an organization user signed in to the dashboard.

Message: Only a signed-in user can move fraud mode from {from} back to {to}

CUSTOMER_FRAUD_NOT_ENABLED​

Fraud module not enabled

Fraud settings can be changed only once the fraud module is turned on for the organization environment. Reading them still returns the defaults.

Message: The fraud module is not turned on for this organization environment

CUSTOMER_FRAUD_STATUS_FORBIDDEN​

Fraud Status change not permitted

Only users and API keys with permission to set Fraud Status can change it. Send the customer's current Fraud Status, or leave fraudStatusCode out, to save the other changes.

Message: Changing a customer's Fraud Status requires the customer:fraud-statuses:write permission

CUSTOMER_MESSAGING_NOT_ENABLED​

Customer messaging is not turned on

Customer email is not available to this organization environment yet. Ask Loom Loyalty support to turn it on.

Message: Customer messaging is not turned on for this environment

CUSTOMER_PORTAL_CLAIM_MISSING​

Sign-in claim missing

The portal member's token lacks a claim enrollment needs. Check the sign-in provider's token settings.

Message: {claim} claim not available

CUSTOMER_PORTAL_DEVICE_LIMIT_REACHED​

Device limit reached

Each device can create one member in a rewards portal. Sign in to the account this device already created, or ask the program's staff to enroll the new member.

Message: A member was already created from this device in this rewards portal

CUSTOMER_PORTAL_EMAIL_NOT_VERIFIED​

Email not verified

Enrollment matches the member by email, so the sign-in provider must confirm the email is verified. Verify the email address, then sign in again.

Message: email_verified claim must be true to enroll a portal member

CUSTOMER_PORTAL_PHONE_NOT_VERIFIED​

Phone not verified

Enrolling by phone needs the number verified with an SMS code in this portal within the last 15 minutes. Request a new code, then sign in again.

Message: No recent SMS verification of this phone number in this rewards portal

CUSTOMER_PORTAL_PRINCIPAL_REQUIRED​

Portal member required

Only a rewards portal member can enroll or unlink themselves. Staff and machine tokens can't call this endpoint.

Message: Not a portal member principal

CUSTOMER_PORTAL_RECOVERY_EMAIL_NOT_ENABLED​

Recovery email not enabled

The portal-recovery-email feature is off for this organization environment, so no recovery email code can be sent or checked.

Message: Recovery email is not turned on for this rewards portal

CUSTOMER_PORTAL_SMS_LOGIN_NOT_ENABLED​

SMS login not enabled

The portal-sms-login feature is off for this organization environment, so no login code can be sent. Members sign in with email.

Message: SMS login is not turned on for this rewards portal

CUSTOMER_REDEMPTION_BLOCKED​

Redemption blocked

The organization's fraud module has blocked this customer's redemptions. Earning is not affected. A signed-in org admin can still redeem for the customer, and a reviewer can lift the block.

Message: Redemptions are blocked for customer '{customerId}'

DELEGATED_TOKEN_ACTOR_NOT_AI_BOT​

AI bot credential required

Only an AI bot API client may act on behalf of a user. Call with the organization's AI bot API client.

Message: Token exchange requires an AI_BOT credential (may_act denied)

DELEGATED_TOKEN_ACTOR_NOT_WEAVE_WORKER​

Weave Worker credential required

Only the Weave Worker's API client may exchange a Connect token. Call with that credential.

Message: Connect token exchange requires the Weave Worker credential (may_act denied)

DELEGATED_TOKEN_ORGANIZATION_REQUIRED​

Caller has no organization

Only a credential that belongs to an organization can exchange tokens. Call with the organization's AI bot API client.

Message: Caller has no organization context

DELEGATED_TOKEN_SUBJECT_NOT_IN_ORGANIZATION​

Subject not in organization

The user the token is requested for is not a member of the caller's organization. Check the user's identity provider id, or add the user to the organization first.

Message: Asserted subject is not a member of the caller's organization

DEVICE_CLAIM_ADMIN_SESSION_REQUIRED​

Admin session required to claim

API credentials cannot claim devices, even with the right scopes. Claim the device from a signed-in dashboard session.

Message: Device claims require an admin session

DLQ_REPLAY_TOKEN_OTHER_OPERATOR​

Replay token belongs to another operator

Only the operator who ran the dry run may replay with its token. Run your own dry run and use its token.

Message: This replay token was issued to another operator; run your own dry run

DLQ_UNMASKED_VIEW_FORBIDDEN​

Unmasked DLQ view not allowed

The unmasked view returns raw tenant data and the stack trace, so it needs the write scope as well as the read scope. Ask for the write scope, or view the record masked.

Message: Viewing a DLQ record unmasked requires the system:dlq-records:write scope

ENVIRONMENT_WORKFLOW_STEP_NOT_AUTHORIZED​

Not an approver for this step

Only the users or roles the workflow step names can approve or reject it. Ask an assigned approver, or have an administrator add you to the step.

Message: You are not authorized to process this workflow step: {requirement}

EVENT_MEMBER_REDEMPTION_NOT_AVAILABLE​

Member redemption not available

Members cannot redeem rewards from the portal in this environment yet. Staff and API credentials can still submit redemptions.

Message: Member redemption is not available

EVENT_RULE_PROGRAM_TRACING_NOT_PERMITTED_FOR_LIMITED_ROLE​

Tracing not permitted for your role

Your role may act only on the event types that list it, and program tracing isn't tied to an event type. Ask an administrator to change tracing, or to give you an unlimited role.

Message: Your role cannot change expression tracing for program {programId}

EVENT_TYPE_NOT_PERMITTED_FOR_ROLE​

Event type not permitted for your role

Your role may act only on the event types that list it, and this event type does not. Ask an administrator to list your role on the event type, or to give you an unlimited role.

Message: Your role cannot submit, change or cancel events of type '{eventTypeCode}'

FLOW_TEST_CUSTOMER_SCOPE_REQUIRED​

Customer read scope required

A dry run against a real customer reads that customer, so the caller needs the CUSTOMERS_READ scope. Grant the scope, or test with a synthetic target.

Message: Testing a real customer requires CUSTOMERS_READ

FORBIDDEN​

Forbidden

The caller is authenticated but lacks the role, scope or tenant access the request needs.

Message: You do not have permission to perform this action.

GO_LIVE_NOT_READY​

Not ready for production

The production environment is closed until every current agreement is accepted and the subscription is active (or the plan is exempt). GET /organizations/{id}/go-live-readiness lists what is missing.

Message: This organization is not ready for production yet. Accept the current agreements and add a payment method, then try again.

LIVE_ENTITY_EDIT_FORBIDDEN​

Live entity change not permitted

This record is enabled in a staging or production environment, so changing it changes live behavior. Ask an administrator for the env-workflow:live-entities:write permission, or make the change where the record is not yet enabled.

Message: {resource} {identifier} is live in {environmentCode}; changing or deleting it requires the env-workflow:live-entities:write permission

M2M_CLIENT_INGEST_WORKER_ACTOR_INVALID​

Not the webhook Ingest Worker

Only the platform's webhook Ingest Worker credential may obtain a webhook source's event token.

Message: API client {clientId} is not the platform's webhook Ingest Worker

MEMBER_MESSAGING_NOT_ENABLED​

Member messaging is not turned on

Replaced by CUSTOMER_MESSAGING_NOT_ENABLED.

Message: Member messaging is not turned on for this environment

OFFER_PARTNER_HINT_SOURCE_FORBIDDEN​

Hint from another source

Partner change hints are accepted only from the webhook ingest source that the partner's integration package created in this environment. Reinstall the integration if its ingest source was replaced.

Message: Only the ingest source the {partnerCode} integration installed may post its hints

OFFER_PARTNERS_NOT_ENABLED​

Offer partners not enabled

The offer-partners feature is off for this organization environment, so partner rewards cannot be set up here. Contact Loom Loyalty support to turn it on.

Message: Offer partners are not turned on for this environment

ORGANIZATION_DELETION_REQUESTED​

Organization being deleted

The organization's deletion is requested, which ends every member's access. Platform staff send the owner its data and can withdraw the deletion before its scheduled time.

Message: This organization is being deleted, so access has ended. Contact support to receive a copy of its data or to stop the deletion.

ORGANIZATION_NOT_OWNER​

Not the organization's owner

Deleting the organization and transferring its ownership are reserved to its owner. GET /organization-ownership says who that is.

Message: Only the organization's owner can do this.

PACKAGE_EXPORT_PROGRAM_FORBIDDEN​

Program export not allowed

One program's export starts from the program, so the caller has to be able to read programs. Ask for the permission, or export without a program.

Message: Exporting program {programCode} needs the {scope} permission

PACKAGE_PROMOTION_FORBIDDEN​

Promotion not permitted

Applying a manifest with targetEnvironmentCode opens a workflow request per type of record, as a batch enable in Hub does, and needs the same permission. Apply without it, or ask for the permission.

Message: Promoting into environment {environmentCode} opens workflow requests, which needs the {scope} permission

PACKAGE_TENANT_MANIFESTS_DISABLED​

Tenant config manifests not enabled

Installing a tenant-authored manifest (treadle plan / apply) is behind the tenant-config-packages feature flag. Ask Loom Loyalty to enable it for the environment.

Message: Tenant config manifests are not enabled for this organization environment

PROGRAM_ACCOUNT_REDEEMER_NOT_ALLOWED​

Member may not redeem

Only the group's owner and current members granted canRedeem may spend its points. Grant canRedeem, or redeem as the owner.

Message: Customer '{customerId}' may not spend customer group '{customerGroupId}' points

RECIPE_FLOW_SCOPE_REQUIRED​

Flow permission needed

Saving or deleting a flow recipe needs the flow permission as well as the event rule permission. Ask an administrator for it, or save the recipe as an event rule recipe.

Message: Recipe {code} is a flow recipe; changing it needs the {scope} permission

REWARDS_PORTAL_CAPABILITIES_FORBIDDEN​

Portal capabilities forbidden

A caller can read only its own organization's rewards portal capabilities. Use your own organization's id in the path.

Message: Cannot read another organization's capabilities

SCOPE_ASSIGNMENT_FORBIDDEN​

Sensitive scope not held

A sensitive scope can only be granted by someone who holds it. Ask a user who holds the scope, or an administrator, to make the change.

Message: Cannot assign sensitive scope '{scopeCode}' — you don't have this scope yourself

STRIPE_ADD_ON_TEST_TIER​

Test tier can't buy add-ons

Organizations on the test tier cannot buy add-ons. Move the organization to a paid tier first.

Message: Test-tier organizations cannot purchase add-ons

STRIPE_ADD_ON_TIER_MISSING​

No plan tier for add-on

Add-ons can be bought only by an organization on a plan tier. Contact support to have a tier assigned.

Message: Organization has no tier assigned

STRIPE_REWARDS_PORTAL_INCLUDED_IN_PLAN​

Rewards portal already in plan

The organization's plan already includes the rewards portal, so the add-on is not needed.

Message: Your organization's plan already includes the rewards portal

WEBHOOK_NOT_ENTITLED​

Webhooks not included in plan

The organization's plan does not include webhooks, so endpoints and ingest sources cannot be changed. Upgrade to Base Analytics or add the webhooks add-on; existing webhooks stay readable.

Message: Webhooks require Base Analytics or the webhooks add-on

404 Not Found​

AGREEMENT_DOCUMENT_NOT_FOUND​

Agreement version not found

No agreement version with this id exists. List the versions of the agreement type to find the right id.

Message: Entity of type 'AgreementDocument' and identifier '{agreementDocumentId}' not found

AGREEMENT_EXEMPTION_NOT_FOUND​

Agreement exemption not found

The organization has no agreement exemption to clear. List the exemptions to see which organizations have one.

Message: Entity of type 'OrganizationAgreementExemption' and identifier '{organizationId}' not found

AGREEMENT_ORGANIZATION_NOT_FOUND​

Agreement organization not found

The organization id in the path is not the caller's organization. Use the organization your credentials are scoped to.

Message: Organization not found

ANALYTICS_ORGANIZATION_NOT_FOUND​

Organization missing for analytics

The caller's organization could not be found while issuing an analytics token. Sign in again; if it continues, contact support.

Message: Organization not found

ANALYTICS_SAVED_VIEW_NOT_FOUND​

Saved view not found

No saved view with this id exists in the caller's organization and environment, or it was deleted. List the saved views to find the right id.

Message: Entity of type 'SavedView' and identifier '{savedViewId}' not found

ANALYTICS_SAVED_VIEW_TEMPLATE_NOT_FOUND​

Saved view template not found

No built-in saved view template has this code. List the saved view templates to find the right code.

Message: Saved view template '{code}' not found

AUTH_USER_NOT_FOUND​

User not found

No user or API client with this id exists in the caller's organization, or it was deleted. Check the id.

Message: Entity of type 'AuthUser' and identifier '{authUserId}' not found

AWS_MARKETPLACE_REGISTRATION_NOT_FOUND​

AWS sign-up not found

This AWS sign-up link has expired or was already used. Open Loom Loyalty from your AWS Marketplace subscription again.

Message: AWS Marketplace registration not found or expired

COUPON_NOT_FOUND​

Coupon not found

No coupon with this id or code exists in the environment. Check the coupon id or code, or create the coupon first.

Message: Entity of type 'Coupon' and identifier '{coupon}' not found

COUPON_OFFER_NOT_FOUND​

Coupon offer not found

No coupon offer with this id exists in the environment. Check the couponOfferId.

Message: Entity of type 'CouponOffer' and identifier '{offer}' not found

CUSTOMER_AUDIENCE_LIST_MEMBER_NOT_FOUND​

Customer not in list

The customer can't be removed from this customer list because they are not a member of it at the requested time.

Message: Customer not present in customer list: {customerAudienceId} ({entityType}, {entityId})

CUSTOMER_AUDIENCE_MEMBERSHIP_NOT_FOUND​

Audience membership not found

The customer is not a member of this audience at the requested time. Check the audience id and the asOfDateTime.

Message: Entity of type 'CustomerAudienceMembership' and identifier '{customerAudienceId}' not found

CUSTOMER_AUDIENCE_NOT_FOUND​

Customer audience not found

No customer audience with this id or code exists in the caller's organization and environment, or it was deleted. Check the id or code, or list the customer audiences to find it.

Message: Entity of type 'CustomerAudience' and identifier '{customerAudienceIdOrCode}' not found

CUSTOMER_AUDIENCE_SEGMENT_NOT_FOUND​

Customer segment not found

No customer audience with this id exists, or the audience is a customer list rather than a segment. Use the id of a segment audience.

Message: Entity of type 'CustomerSegment' and identifier '{customerAudienceId}' not found

CUSTOMER_AUDIENCE_VERSION_NOT_FOUND​

Segment version not found

The segment has no recorded expression for this version. List the segment's versions with GET /customer-audiences/{id}/versions and pick one of them.

Message: Segment '{customerAudienceId}' has no expression history for version {version}

Case link not found

The case has no link with this id. List the case's links to find the right id.

Message: Entity of type 'CustomerCaseLink' and identifier '{customerCaseLinkId}' not found

CUSTOMER_CASE_MESSAGE_NOT_FOUND​

Case message not found

The case has no message with this id. List the case's messages to find the right id.

Message: Entity of type 'CustomerCaseMessage' and identifier '{customerCaseMessageId}' not found

CUSTOMER_CASE_NOT_FOUND​

Customer case not found

No case with this id exists in the caller's organization and environment. List cases to find the right id.

Message: Entity of type 'CustomerCase' and identifier '{customerCaseId}' not found

CUSTOMER_CASE_TYPE_NOT_FOUND​

Case type not found

No case type with this id or code exists in the caller's environment. List case types to find the right one.

Message: Customer case type '{customerCaseType}' not found

Consent record not found

The customer has no consent record with this id. List the customer's consent history to find the right id.

Message: Entity of type 'CustomerConsent' and identifier '{customerConsentId}' not found

CUSTOMER_CONSOLIDATION_CUSTOMER_NOT_FOUND​

Customer to consolidate not found

One of the two customers named in the consolidation does not exist or was deleted. Check both customer ids.

Message: Customer '{customerId}' not found or has been deleted

CUSTOMER_CONSOLIDATION_NOT_FOUND​

Customer consolidation not found

No customer consolidation with this id exists in the caller's organization and environment.

Message: Entity of type 'CustomerConsolidation' and identifier '{consolidationId}' not found

CUSTOMER_COUPON_CODE_NOT_FOUND​

Customer coupon not found

No coupon with this code has been issued. Check the coupon code.

Message: CustomerCoupon not found for coupon code: {couponCode}

CUSTOMER_COUPON_CODE_NOT_FOUND_FOR_ENTITY​

Customer coupon not found

No coupon with this code is issued to the customer. Check the coupon code and the customer.

Message: CustomerCoupon with code {couponCode} not found for entity {entityType}:{entityId}

CUSTOMER_COUPON_ID_NOT_FOUND_FOR_ENTITY​

Customer coupon not found

No coupon with this id is issued to the customer. Check the customerCouponId and the customer.

Message: CustomerCoupon with ID {customerCouponId} not found for entity {entityType}:{entityId}

CUSTOMER_COUPON_NOT_FOUND​

Customer coupon not found

No issued coupon matches the id, code or criteria in the request. Check them against the customer's coupons.

Message: Entity of type 'CustomerCoupon' and identifier '{customerCoupon}' not found

CUSTOMER_COUPON_NOT_FOUND_FOR_ENTITY​

Customer coupon not found

The customer coupon does not exist or is issued to another customer. Check the customerCouponId.

Message: CustomerCoupon not found for entity or does not belong to entity: {customerCouponId}

CUSTOMER_COUPON_NOT_OWNED_BY_ENTITY​

Customer coupon not found

The coupon with this code is not issued to the customer in the request. Check the coupon code and the customer.

Message: CustomerCoupon does not belong to the specified entity: {couponCode}

CUSTOMER_COUPON_OFFER_MISSING​

Coupon offer not found

The coupon's offer no longer exists or is not available in this environment. Enable the offer or issue another coupon.

Message: Offer not found for coupon: {couponId}

CUSTOMER_COUPON_POOL_EMPTY​

No coupons available

The coupon offer has no coupons left to issue. Add or generate more coupons for the offer.

Message: No coupons available for offer: {offerId}

CUSTOMER_COUPON_USE_ACTIVE_USE_NOT_FOUND​

Coupon use not found

The coupon with this code has no use in USE status for the customer. Check the coupon code.

Message: No active CustomerCouponUse found for coupon code: {couponCode}

CUSTOMER_COUPON_USE_NOT_FOUND​

Coupon use not found

No coupon use with this id exists in the environment. Check the customerCouponUseId.

Message: Entity of type 'CustomerCouponUse' and identifier '{customerCouponUseId}' not found

CUSTOMER_COUPON_USE_REFERENCE_LOOKUP_NOT_FOUND​

Coupon use not found

No hold or use with this couponUseReferenceId exists for the customer. Check the reference id.

Message: No CustomerCouponUse found for reference ID: {couponUseReferenceId}

CUSTOMER_COUPON_USE_REFERENCE_NOT_FOUND​

Coupon use not found

No hold or use with this couponUseReferenceId exists for the customer. Check the reference id.

Message: CustomerCouponUse not found for reference ID: {couponUseReferenceId}

CUSTOMER_COUPON_USE_RETURN_TARGET_NOT_FOUND​

Nothing to return

A return must match an active hold or use with the same couponUseReferenceId. Check the reference id.

Message: Cannot return coupon - no HOLD or USE found for reference ID: {couponUseReferenceId}

CUSTOMER_DATA_EXPORT_NOT_FOUND​

Customer data export not found

No data export with this id belongs to the customer in the path. List the customer's data exports to find the right id.

Message: Entity of type 'CustomerDataExport' and identifier '{customerDataExportId}' not found

CUSTOMER_EMAIL_ADDRESS_NOT_FOUND​

Customer email address not found

The customer has no email address with this id. List the customer's email addresses to find the right id.

Message: Entity of type 'CustomerEmailAddress' and identifier '{customerEmailAddressId}' not found

CUSTOMER_EXTERNAL_OFFER_NOT_FOUND​

Customer external offer not found

No issued external offer matches the id or criteria in the request. Check them against the customer's external offers.

Message: Entity of type 'CustomerExternalOffer' and identifier '{customerExternalOffer}' not found

CUSTOMER_FRAUD_CASE_NOT_FOUND​

Fraud case not found

No fraud case with this id belongs to this customer in the caller's organization environment.

Message: Fraud case '{fraudCaseId}' not found

CUSTOMER_FRAUD_SETTINGS_NOT_FOUND​

Fraud settings not found

A caller can read and change only its own environment's fraud settings. Use the organization environment id from your token.

Message: Fraud settings for organization environment '{organizationEnvironmentId}' not found

CUSTOMER_GROUP_MEMBER_NOT_FOUND​

Group member not found

The customer has no active membership of this group. List the group's members to check.

Message: Customer '{customerId}' is not a current member of group '{customerGroupId}'

CUSTOMER_GROUP_NOT_FOUND​

Customer group not found

No customer group with this id exists in the caller's organization and environment. List groups to find the right id.

Message: Customer group '{customerGroupId}' not found

CUSTOMER_IDENTIFIER_NOT_FOUND​

Customer identifier not found

The customer has no identifier with this id. List the customer's identifiers to find the right id.

Message: Entity of type 'CustomerIdentifier' and identifier '{customerIdentifierId}' not found

CUSTOMER_MEMBER_CODE_NOT_FOUND​

Member code not found

No live member code matches in this organization and environment. It may be mistyped, from another organization, or revoked. Find the member by phone or email instead.

Message: Member code not found

CUSTOMER_MESSAGE_NOT_FOUND​

Customer message not found

No customer message with this id exists in this environment. List customer messages to find the right id.

Message: Entity of type 'CustomerMessage' and identifier '{customerMessageId}' not found

CUSTOMER_METADATA_NOT_FOUND​

Customer metadata value not found

A stored customer record refers to a status, fraud status, enrollment code or gender that no longer exists. Restore the metadata value in Loom Loyalty, or update the record to a current one.

Message: Entity of type '{metadataType}' and identifier '{metadataCode}' not found

CUSTOMER_NOT_FOUND​

Customer not found

No customer with this id exists in the caller's organization and environment, or it was deleted. Check the id, or look the customer up by external id or identifier first.

Message: Entity of type 'Customer' and identifier '{customerId}' not found

CUSTOMER_NOTE_NOT_FOUND​

Customer note not found

The customer has no note with this id. List the customer's notes to find the right id.

Message: Entity of type 'CustomerNote' and identifier '{customerNoteId}' not found

CUSTOMER_OFFER_NEXT_BEST_OFFER_DECISION_NOT_FOUND​

Next best offer decision not found

No next best offer decision with this id was made for this customer. Check the id against the customer's decisions.

Message: Entity of type 'NextBestOfferDecision' and identifier '{nextBestOfferDecisionId}' not found

CUSTOMER_OFFER_OFFER_NOT_FOUND​

Offer not found

No offer with this id or code exists in the environment. Check the offer id or code.

Message: Entity of type 'Offer' and identifier '{offer}' not found

CUSTOMER_PHONE_NUMBER_NOT_FOUND​

Customer phone number not found

The customer has no phone number with this id. List the customer's phone numbers to find the right id.

Message: Entity of type 'CustomerPhoneNumber' and identifier '{customerPhoneNumberId}' not found

CUSTOMER_PORTAL_EMAIL_VERIFICATION_NOT_FOUND​

Email verification not found

The signed-in member has no email verification with this id in this organization and environment. Ask for a new code.

Message: Entity of type 'PortalEmailVerification' and identifier '{portalEmailVerificationId}' not found

CUSTOMER_PORTAL_MEMBER_MERGE_NOT_FOUND​

Merge not found

There is no member to combine with, or the offer expired. Verify the email address again.

Message: No merge is available for this member

CUSTOMER_PORTAL_PHONE_VERIFICATION_NOT_FOUND​

Phone verification not found

No portal phone verification with this id exists in this organization and environment. Ask for a new code.

Message: Entity of type 'PortalPhoneVerification' and identifier '{portalPhoneVerificationId}' not found

CUSTOMER_POSTAL_ADDRESS_NOT_FOUND​

Customer postal address not found

The customer has no postal address with this id. List the customer's postal addresses to find the right id.

Message: Entity of type 'CustomerPostalAddress' and identifier '{customerPostalAddressId}' not found

CUSTOMER_PREFERENCE_NOT_FOUND​

Customer preference not found

The customer has no preference with this id. List the customer's preferences to find the right id.

Message: Entity of type 'CustomerPreference' and identifier '{customerPreferenceId}' not found

CUSTOMER_PROGRAM_NOT_FOUND​

Customer program membership not found

The customer has no program membership with this id. List the customer's programs to find the right id.

Message: Entity of type 'CustomerProgram' and identifier '{customerProgramId}' not found

CUSTOMER_REFERRAL_PROGRAM_NOT_FOUND​

Membership program not found

The program behind this customer's membership no longer exists, so no referral code can be made for it.

Message: Entity of type 'Program' and identifier '{programId}' not found

CUSTOMER_SIGN_IN_NOT_FOUND​

Sign-in not found

No sign-in with this id belongs to this customer in the caller's organization environment. Sign-ins are kept for 90 days.

Message: Sign-in '{customerSignInId}' not found

CUSTOMER_STATUS_BADGE_NOT_FOUND​

Badge not found

No badge with this id or code exists in the caller's organization and environment, or it was deleted. Check the id or code, or list the badges to find it.

Message: Entity of type 'Badge' and identifier '{badgeIdOrCode}' not found

CUSTOMER_STATUS_BADGE_TYPE_NOT_FOUND​

Badge type not found

A stored badge refers to a badge type that no longer exists. Restore the badge type in Loom Loyalty, or update the badge to a current type.

Message: Entity of type 'BadgeType' and identifier '{typeCode}' not found

CUSTOMER_STATUS_CUSTOMER_BADGE_NOT_FOUND​

Customer badge not found

The customer has no issued badge with this id. List the customer's badges to find the right id.

Message: Entity of type 'CustomerBadge' and identifier '{customerBadgeId}' not found

CUSTOMER_STATUS_CUSTOMER_TIER_NOT_FOUND​

Customer tier not found

The customer has no issued tier with this id. List the customer's tiers to find the right id.

Message: Entity of type 'CustomerTier' and identifier '{customerTierId}' not found

CUSTOMER_STATUS_PROGRAM_NOT_FOUND​

Program not found

No program with this code exists in the caller's organization and environment. Check the program code, or list the programs to find it.

Message: Entity of type 'Program' and identifier '{programCode}' unable to be resolved

CUSTOMER_STATUS_TIER_NOT_FOUND​

Tier not found

No tier with this id or code exists in the caller's organization and environment, or it was deleted. Check the id or code, or list the tiers to find it.

Message: Entity of type 'Tier' and identifier '{tierIdOrCode}' not found

CUSTOMER_TAG_NOT_FOUND​

Customer tag not found

No tag with this id exists on this customer entity. List the entity's tags to find the right id.

Message: Entity of type 'CustomerTag' and identifier '{customerTagId}' not found

CUSTOMER_WALLET_DEVICE_NOT_FOUND​

Customer wallet device not found

The customer has no wallet device registration with this id.

Message: Entity of type 'CustomerWalletDevice' and identifier '{customerWalletDeviceId}' not found

DATA_MODEL_ELEMENT_NOT_FOUND​

Data model element not found

No data model element with this id exists. List the data model's elements to find the right id.

Message: Entity of type 'DataModelElement' and identifier '{identifier}' not found

DATA_MODEL_ELEMENT_NOT_IN_DATA_MODEL​

Data model element not in this data model

The element exists but belongs to a different data model than the one in the URL. List this data model's elements to find the right id.

Message: DataModelElement not found for DataModel or does not belong to DataModel: {dataModelElementId}

DATA_MODEL_NOT_FOUND​

Data model not found

No data model with this id or code exists in the caller's organization and environment, or it was deleted. Check the id or code, or list the data models to find the right one.

Message: Entity of type 'DataModel' and identifier '{identifier}' not found

DATA_MODEL_TYPE_NOT_FOUND​

Data model type not found

No data model type with this id or code exists in the caller's organization. Check the id or code, or list the data model types to find the right one.

Message: Entity of type 'DataModelType' and identifier '{identifier}' not found

DEMO_RECORDING_NOT_FOUND​

Demo recording not found

No demo recording with this id exists in the organization, or it was deleted. Check the id, or list the demo recordings to find it.

Message: Entity of type 'DemoRecording' and identifier '{demoRecordingId}' not found

DEVICE_CREDENTIAL_NOT_LINKED​

No device for this credential

The device credential is valid but no device is linked to it, usually because the device was deleted. Claim the device again to get a new credential.

Message: Entity of type 'Device' and identifier '{m2mClientId}' not found

DEVICE_LOCATION_NOT_FOUND​

Device location not found

No location with this id exists in the organization and environment, so it has no devices to list. List the locations to find the right id.

Message: Entity of type 'Location' and identifier '{locationId}' not found

DEVICE_NOT_FOUND​

Device not found

No device with this id exists in the organization, or it was deleted. List the devices to find the right id.

Message: Entity of type 'Device' and identifier '{deviceId}' not found

DEVICE_ORGANIZATION_NOT_FOUND​

Organization missing for device

The organization of the caller or the device could not be found. Sign in again; if it continues, contact support.

Message: Entity of type 'Organization' and identifier '{organizationId}' not found

DLQ_RECORD_NOT_FOUND​

DLQ record not found

No archived DLQ record has this id, or it was purged. List the DLQ records to find the right id.

Message: DLQ record '{dlqEventId}' not found

ENTITY_EVENT_RULE_NOT_FOUND​

Event rule not found

No event rule with this id applies to the entity in this environment. Check the event rule id.

Message: Event rule {eventRuleId} was not found

ENTITY_TARGET_CYCLE_NOT_FOUND​

Target cycle not found

The counter target cycle no longer exists. Reload the entity's targets and retry.

Message: Entity target cycle {cycleId} was not found

ENTITY_TARGET_ITEM_NOT_FOUND​

Entity target item not found

A milestone or x-of-y target item no longer exists. Reload the entity's targets and retry.

Message: Entity target item {entityTargetItemId} was not found

ENTITY_TARGET_NOT_ACTIVE​

No active entity target

The entity has no active instance of this target. Register the entity for the target, or check the target code.

Message: No active entity target exists for target {targetCode}

ENTITY_TARGET_NOT_FOUND​

Entity target not found

No target instance with this id exists for the entity in this environment. Check the entity target id.

Message: Entity target {entityTargetId} was not found

ENTITY_TARGET_UNKNOWN_TARGET​

Target not found

No target with this code or id is enabled in this environment. Create or enable the target first, or fix the reference.

Message: Target {target} was not found

ENVIRONMENT_WORKFLOW_NOT_CONFIGURED​

No environment workflow configured

Neither an enable policy nor an active workflow covers this entity type in the target environment. Create an environment workflow and an enable policy for it, then send the request again.

Message: No environment workflow configured for entity type '{entityType}' in environment '{targetEnvironmentId}'. An enable-in-environment policy and workflow must exist before a workflow request can be created.

ENVIRONMENT_WORKFLOW_NOT_FOUND​

Environment workflow not found

No environment workflow with this id exists in the organization, or it was deleted. List the environment workflows to find the right id.

Message: Entity of type 'EnvironmentWorkflow' and identifier '{environmentWorkflowId}' not found

ENVIRONMENT_WORKFLOW_POLICY_NOT_FOUND​

Enable policy not found

No enable policy with this id exists in the organization, or it was deleted. List the enable policies to find the right id.

Message: Entity of type 'EnableInEnvironmentPolicy' and identifier '{enableInEnvironmentPolicyId}' not found

ENVIRONMENT_WORKFLOW_REQUEST_NOT_FOUND​

Workflow request not found

No workflow request with this id exists in the organization, or it was deleted. List the workflow requests to find the right id.

Message: Entity of type 'EnvironmentWorkflowRequest' and identifier '{environmentWorkflowRequestId}' not found

ENVIRONMENT_WORKFLOW_STEP_NOT_FOUND​

Workflow step not found

No approval step with this id belongs to the workflow request in the path. List the request's steps to find the right id.

Message: Workflow step '{stepApprovalId}' not found

EVENT_FEED_ENVIRONMENT_NOT_FOUND​

Feed environment settings not found

The event feed has no settings in this environment yet. Save the feed's environment settings first.

Message: Event feed '{eventFeedId}' has no settings in this environment

EVENT_FEED_IMPORT_ENTITLEMENT_NOT_FOUND​

Import entitlement not found

The organization has no import entitlement, or it was deleted. Create one first.

Message: Entity of type 'ImportEntitlement' and identifier '{organizationId}' not found

EVENT_FEED_NOT_FOUND​

Event feed not found

No event feed with this id exists in the organization, or it was deleted. List the event feeds to find the right id.

Message: Entity of type 'EventFeed' and identifier '{eventFeedId}' not found

EVENT_FEED_VERSION_NOT_FOUND​

Event feed version not found

The event feed has no version with this number, or it was deleted. List the feed's versions to find the right one.

Message: Entity of type 'EventFeedVersion' and identifier '{eventFeedId} v{version}' not found

EVENT_NOT_FOUND​

Event not found

No event with this id exists in the caller's organization and environment. Check the event id.

Message: Event {eventId} was not found

EVENT_RULE_NOT_FOUND​

Event rule not found

No event rule has this ID or code in the organization. Check the identifier, or list the event rules to find it.

Message: Entity of type 'EventRule' and identifier '{eventRuleId}' not found

EVENT_RULE_PUBLISHED_VERSION_NOT_FOUND​

No published event rule version

The event rule has no PUBLISHED version yet. Publish a draft version first, or read the draft by its version number.

Message: Entity of type 'EventRule' and identifier 'No published version found for code: {code}' not found

EVENT_RULE_VERSION_NOT_FOUND​

Event rule version not found

The event rule has no version with this number. List the rule's versions to find the one you want.

Message: Entity of type 'EventRule' and identifier '{code} v{version}' not found

EVENT_TYPE_ACTION_NOT_FOUND​

Event type action not found

No event type action has this ID or code. Check the identifier, or list the event type actions to find it.

Message: Entity of type 'EventTypeAction' and identifier '{eventTypeActionId}' not found

EVENT_TYPE_CONFIGURATION_NOT_FOUND​

Event type configuration not found

No event type configuration has this ID, code or event type. Check the identifier, or list the configurations to find it.

Message: Entity of type 'EventTypeConfiguration' and identifier '{eventTypeConfigurationId}' not found

EVENT_TYPE_ROLE_NOT_FOUND​

Event type role not found

No event type role link has this ID. Check the identifier, or list the event type roles to find it.

Message: Entity of type 'EventTypeRole' and identifier '{eventTypeRoleId}' not found

FEATURE_FLAG_NOT_FOUND​

Feature flag not found

No feature flag has this key. List the feature flags to find the right key.

Message: Unknown feature flag key: {flagKey}

FEATURE_FLAG_OVERRIDE_ID_NOT_FOUND​

Feature flag override removed

The override was removed while it was being changed. Get the flag again and retry the change.

Message: Entity of type 'FeatureFlagOverride' and identifier '{featureFlagOverrideId}' not found

FEATURE_FLAG_OVERRIDE_NOT_FOUND​

Feature flag override not found

The flag has no override at this scope type and scope value. Get the flag to see its active overrides.

Message: Entity of type 'FeatureFlagOverride' and identifier '{flagKey}' not found

FEATURE_OPT_IN_FEATURE_NOT_FOUND​

Feature not found

No feature has this key. List the available features to find the right key.

Message: Unknown feature flag: {flagKey}

FEATURE_OPT_IN_NOT_FOUND​

Feature opt-in not found

The organization's opt-in to this feature was removed while it was being changed. List the features and retry.

Message: Entity of type 'FeatureOptIn' and identifier '{featureOptInId}' not found

FEEDBACK_NOT_FOUND​

Feedback not found

No feedback with this id was sent by this caller. List your feedback to find the right id.

Message: Entity of type 'Feedback' and identifier '{feedbackId}' not found

FILE_EXPORT_ENTITLEMENT_NOT_FOUND​

Export entitlement not found

The organization has no export entitlement, or it was deleted. Create one first.

Message: Entity of type 'ExportEntitlement' and identifier '{organizationId}' not found

FILE_EXPORT_NOT_FOUND​

File export not found

No file export with this id exists in the organization environment, or it was deleted. List the file exports to find the right id.

Message: Entity of type 'FileExport' and identifier '{fileExportId}' not found

FILE_EXPORT_RUN_NOT_FOUND​

File export run not found

No run with this id belongs to the file export in the path. List the export's runs to find the right id.

Message: Entity of type 'FileExportRun' and identifier '{fileExportRunId}' not found

FLOW_EXECUTION_NOT_FOUND​

Flow execution not found

No flow execution with this id exists in the caller's organization and environment. Check the flow execution id.

Message: Flow execution {flowExecutionId} was not found

FLOW_NOT_FOUND​

Flow not found

No flow has this ID or code in the organization. Check the identifier, or list the flows to find it.

Message: Entity of type 'Flow' and identifier '{flowId}' not found

FLOW_PUBLISHED_VERSION_NOT_FOUND​

No published flow version

The flow has no PUBLISHED version yet. Publish a draft version first, or read the draft by its version number.

Message: Entity of type 'FlowVersion' and identifier 'No published version found for code: {code}' not found

FLOW_TEMPLATE_NOT_FOUND​

Flow template not found

No flow template has this ID or code. Check the identifier, or list the flow templates to find it.

Message: Entity of type 'FlowTemplate' and identifier '{flowTemplateId}' not found

FLOW_TEST_CUSTOMER_NOT_FOUND​

Customer not found

No customer with this id exists in the caller's organization and environment. Check target.customerId.

Message: Customer {customerId} was not found

FLOW_VERSION_NOT_FOUND​

Flow version not found

No flow version has this ID. Check the identifier, or list the flow's versions to find it.

Message: Entity of type 'FlowVersion' and identifier '{flowVersionId}' not found

FLOW_VERSION_NUMBER_NOT_FOUND​

Flow version number not found

The flow has no version with this number. List the flow's versions to find the one you want.

Message: Entity of type 'FlowVersion' and identifier '{flow} v{version}' not found

HOUSE_SENDER_NOT_FOUND​

House sender not found

The organization has never created a LOOM_LOYALTY_SES messaging connection, so it has no house sender to set a cap on.

Message: Organization '{organizationId}' has no house sender

HUB_COMPONENT_MANIFEST_NOT_FOUND​

Hub component manifest not found

No stored manifest matches this component version. List the component versions to find one that exists.

Message: Manifest not found for version: {version}

HUB_COMPONENT_VERSION_NOT_FOUND​

Hub component version missing

No version was named and the hub has no current component version. Name a version, or upload a component bundle first.

Message: No component version found

HUB_COMPONENTS_NOT_DEPLOYED​

Hub components not deployed

This hub has no custom component bundle deployed yet. Upload a component bundle first.

Message: No components deployed for hub config: {hubConfigId}

HUB_CONFIG_NOT_FOUND​

Hub config not found

No hub config with this id exists in the caller's organization environment, or it was deleted. List the hub configs to find the right id.

Message: Entity of type 'HubConfig' and identifier '{hubConfigId}' not found

HUB_CONFIG_SUBDOMAIN_NOT_FOUND​

Hub subdomain not found

No hub config uses this subdomain. Check the subdomain, or list the hub configs to see the ones in use.

Message: Entity of type 'HubConfig' and identifier '{subdomain}' not found

HUB_DOMAIN_HOSTNAME_NOT_FOUND​

Hub hostname not found

No hub custom domain uses this hostname. Check the hostname, or add it as a hub domain first.

Message: Entity of type 'HubDomain' and identifier '{hostname}' not found

HUB_DOMAIN_NOT_FOUND​

Hub domain not found

No hub custom domain with this id exists in the caller's organization, or it was deleted. List the hub domains to find the right id.

Message: Entity of type 'HubDomain' and identifier '{hubDomainId}' not found

HUB_ORGANIZATION_ENVIRONMENT_NOT_FOUND​

Hub environment not found

The organization environment this hub belongs to could not be found, so its runtime config cannot be built. Contact support.

Message: Entity of type 'OrganizationEnvironment' and identifier '{organizationEnvironmentId}' not found

HUB_ORGANIZATION_NOT_FOUND​

Hub organization not found

The organization this hub belongs to could not be found, so its runtime config cannot be built. Contact support.

Message: Entity of type 'Organization' and identifier '{organizationId}' not found

LOGIN_USER_INVITATION_NOT_FOUND​

Invitation not found

No pending invitation with this id exists in the caller's organization; it may have been accepted, revoked or expired. List the pending invitations to find the right id.

Message: Pending invitation '{invitationId}' not found

LOGIN_USER_NOT_FOUND​

Login user not found

No login user with this id exists in the caller's organization, or it was deleted. List the login users to find the right id.

Message: Entity of type 'LoginUser' and identifier '{identifier}' not found

M2M_CLIENT_NOT_FOUND​

API client not found

No API client with this id exists in the caller's organization, or it was deleted. List the API clients to find the right id.

Message: Entity of type 'M2MClient' and identifier '{m2mClientId}' not found

MESSAGE_TEMPLATE_NOT_FOUND​

Message template not found

No message template with this id exists in this environment. List message templates to find the right id.

Message: Entity of type 'MessageTemplate' and identifier '{messageTemplateId}' not found

MESSAGING_CONNECTION_NOT_FOUND​

Messaging connection not found

No messaging connection with this id exists in this environment. List messaging connections to find the right id.

Message: Entity of type 'MessagingConnection' and identifier '{messagingConnectionId}' not found

METADATA_DATA_TYPE_NOT_FOUND​

Data type not found

No data type with this id, or with this code under the given type, exists, or it was deleted. List the data types of the type to find the right one.

Message: Entity of type 'DataType' and identifier '{identifier}' not found

METADATA_GROUP_MEMBER_NOT_FOUND​

Metadata group member not found

The metadata group does not exist, or the metadata value with this type and code is not one of its members. List the group's metadata to see its members.

Message: Entity of type 'Metadata' and identifier '{metadataTypeCode}/{metadataCode}' not found

METADATA_GROUP_NOT_FOUND​

Metadata group not found

No metadata group with this id or code exists in the caller's organization and environment, or it was deleted. List the metadata groups to find the right one.

Message: Entity of type 'MetadataGroup' and identifier '{identifier}' not found

METADATA_HIERARCHY_VIEW_NOT_FOUND​

Hierarchy view not found

No metadata hierarchy view with this id or code exists in the caller's organization and environment, or it was deleted. List the hierarchy views to find the right one.

Message: Entity of type 'MetadataHierarchyView' and identifier '{identifier}' not found

METADATA_ITEM_NOT_FOUND​

Item not found

No item with this id, or with this code under the given type, exists, or it was deleted. List the items of the type to find the right one.

Message: Entity of type 'Item' and identifier '{identifier}' not found

METADATA_LOCATION_NOT_FOUND​

Location not found

No location with this id, or with this code under the given type, exists, or it was deleted. List the locations of the type to find the right one.

Message: Entity of type 'Location' and identifier '{identifier}' not found

METADATA_NOT_FOUND​

Metadata not found

No metadata value with this id or code exists in the caller's organization and environment, or it was deleted. Check the id or code, or list the metadata of its type to find it.

Message: Entity of type 'Metadata' and identifier '{identifier}' not found

METADATA_TYPE_NOT_FOUND​

Metadata type not found

No metadata type with this id or code exists in the caller's organization, or it was deleted. List the metadata types to find the right one.

Message: Entity of type 'MetadataType' and identifier '{identifier}' not found

METRICS_METRIC_NOT_FOUND​

Metric not found

No metric with this code exists, or its category is not available. List the metric definitions to find the right code.

Message: Entity of type 'MetricDefinition' and identifier '{metricCode}' not found

NOT_FOUND​

Not found

No resource exists at this path in the caller's organization and environment.

Message: The requested resource was not found.

OFFER_NOT_FOUND​

Offer not found

No offer has this ID or code in the organization. Check the identifier, or list the offers to find it.

Message: Entity of type 'Offer' and identifier '{offer}' not found

OFFER_PARTNER_CATALOG_CHANGE_NOT_FOUND​

Catalog change not found

The catalog change ID does not name a change on one of the organization's links to this partner's items.

Message: No {partnerCode} catalog change '{catalogChangeId}' exists in this organization

OFFER_PARTNER_CATALOG_ITEM_NOT_FOUND​

Catalog item not found

The catalog item ID does not name an item in the catalog of the connection this environment enrolled with. Browse the catalog to find it.

Message: No {partnerCode} catalog item '{catalogItemId}' is available to this environment

OFFER_PARTNER_COVERAGE_NOT_CHECKED​

Coverage not checked

The daily coverage check has not run for this partner's LIVE account, because no PRODUCTION environment is enrolled with it yet or the first run is still to come.

Message: The {partnerCode} account's coverage has not been checked yet

OFFER_PARTNER_ENROLLMENT_NOT_FOUND​

Offer partner enrolment not found

The enrolment ID does not name an enrolment of this environment with this partner. List the environment's enrolments to find it.

Message: No {partnerCode} enrolment '{enrollmentId}' exists in this environment

OFFER_PARTNER_FUNDING_NOT_FOUND​

Partner funding not found

The funding ID does not name a recorded transfer to this partner. List the partner's fundings to find it.

Message: No {partnerCode} funding '{fundingId}' exists

OFFER_PARTNER_ITEM_NOT_IN_CATALOG​

Catalog item not found

The catalog item ID does not name an item synced from this partner on any connection.

Message: No {partnerCode} catalog item '{catalogItemId}' exists

Offer link not found

The offer link ID does not name one of the organization's links to this partner's items.

Message: No {partnerCode} offer link '{offerLinkId}' exists in this organization

OFFER_PARTNER_ORDER_NOT_FOUND​

Partner order not found

The order ID does not name an order placed with this partner. List the partner's orders to find it.

Message: No {partnerCode} order '{orderId}' exists

OFFER_PARTNER_REWARD_ITEM_NOT_FOUND​

Partner item not found

The offer is not linked to an active merch item this environment can order. The brand may have paused or unlinked it.

Message: Offer '{offerId}' has no partner item a member can order now

Partner reward not found

The order ID does not name a partner reward issued to this member. Read it from the issued offer's partnerOrderId.

Message: No reward link for order '{orderId}'

OFFER_PARTNER_TOP_UP_NOT_FOUND​

Top-up not found

The top-up ID does not name a top-up of this wallet. List the wallet's top-ups to find it.

Message: No top-up '{topUpId}' exists for wallet '{walletId}'

OFFER_PARTNER_WALLET_ENTRY_NOT_FOUND​

Wallet entry not found

The entry ID does not name an entry of this wallet's ledger. List the wallet's entries to find it.

Message: No entry '{walletEntryId}' exists in wallet '{walletId}'

OFFER_PARTNER_WALLET_NOT_FOUND​

Wallet not found

The wallet ID does not name a partner-rewards wallet. List the wallets to find it.

Message: No partner-rewards wallet '{walletId}' exists

ORGANIZATION_ADMIN_NOT_FOUND​

Admin not found

No signed-in admin of this organization has this login user id. List the organization's admins to find the right id.

Message: Login user '{loginUserId}' is not an admin of this organization

ORGANIZATION_CUSTOM_DOMAIN_REVIEW_NOT_FOUND​

Custom domain review not found

No custom domain review with this id exists. List the reviews in Platform Admin to find the right one.

Message: Entity of type 'CustomDomainReview' and identifier '{customDomainReviewId}' not found

ORGANIZATION_ENVIRONMENT_CODE_NOT_FOUND​

Organization environment code not found

No environment with this code exists in the organization. List the organization's environments to find the right code.

Message: Entity of type 'OrganizationEnvironment' and identifier '{environmentCode}' not found

ORGANIZATION_ENVIRONMENT_NOT_FOUND​

Organization environment not found

No environment with this id exists in the organization. List the organization's environments to find the right id.

Message: Entity of type 'OrganizationEnvironment' and identifier '{organizationEnvironmentId}' not found

ORGANIZATION_ENVIRONMENT_NOT_IN_CONTEXT​

No environment for the caller

The caller's credentials are not scoped to an organization environment. Call with an API key or token issued for an environment.

Message: Entity of type 'OrganizationEnvironment' not found

ORGANIZATION_HUB_HOST_NOT_FOUND​

Hub host not found

No organization's Hub is served at this subdomain. Check the address, or sign in at the Hub's root domain to choose an organization.

Message: Entity of type 'HubHost' and identifier '{subdomain}' not found

ORGANIZATION_IMAGE_NOT_FOUND​

Image not found

No uploaded image with this id exists in the organization, or it was already deleted. Check the id.

Message: Entity of type 'OrganizationImage' and identifier '{organizationImageId}' not found

ORGANIZATION_NOT_FOUND​

Organization not found

No organization with this id exists, or it is not the caller's organization. Check the id, or use the organization your credentials are scoped to.

Message: Entity of type 'Organization' and identifier '{organizationId}' not found

ORGANIZATION_WHITE_LABEL_BRAND_NOT_FOUND​

Brand not found

No brand with this id or slug exists. List the brands in Platform Admin to find the right one.

Message: Entity of type 'Brand' and identifier '{whiteLabelBrandId}' not found

PACKAGE_EXPORT_PROGRAM_NOT_FOUND​

Program not found

The export was asked for one program's records, and the organization has no program with this code. List the programs to find the right code, or leave program out to export the whole organization.

Message: Program {programCode} not found; there is nothing to export for it

PACKAGE_INSTALLATION_NOT_FOUND​

Package installation not found

No package installation with this id exists in the organization, or it belongs to another environment. Check the id, or list the installations from the environment the package is installed in.

Message: Entity of type 'PackageInstallation' and identifier '{packageInstallationId}' not found

PACKAGE_NOT_FOUND​

Package not found

The Loom Loyalty package catalog has no package with this code. List the packages to find the right code.

Message: Entity of type 'PackageDefinition' and identifier '{packageCode}' not found

Paid entitlement not found

No paid entitlement with this id exists, or it was deleted. Billing reconciliation records it again from the subscription.

Message: Entity of type 'PaidEntitlement' and identifier '{paidEntitlementId}' not found

PROGRAM_ACCOUNT_GROUP_NOT_FOUND​

Customer group not found

Points can be issued to or withdrawn from a customer group only when the group exists in the caller's organization and environment. Check the group id.

Message: Customer group '{customerGroupId}' not found

PROGRAM_ACCOUNT_NOT_FOUND​

Program account not found

No program account matches the id, or the customer has no account yet because nothing has been issued to them. Check the id or customer.

Message: Entity of type 'ProgramAccount' and identifier '{programAccount}' not found

PROGRAM_BANK_EXPIRY_RULE_NOT_FOUND​

Expiry rule not found

No expiry rule has this ID or code in the organization. Check the identifier, or list the expiry rules to find it.

Message: Entity of type 'ExpiryRule' and identifier '{expiryRule}' not found

PROGRAM_BANK_PENDING_RULE_NOT_FOUND​

Pending rule not found

No pending rule has this ID or code in the organization. Check the identifier, or list the pending rules to find it.

Message: Entity of type 'PendingRule' and identifier '{pendingRule}' not found

PROGRAM_CURRENCY_NOT_FOUND​

Program currency not found

No program currency has this ID or code in the organization. Check the identifier, or list the program currencies to find it.

Message: Entity of type 'ProgramCurrency' and identifier '{programCurrency}' not found

PROGRAM_LEDGER_CURRENCY_NOT_FOUND​

Ledger currency not found

The program currency this ledger holds does not exist or is not available in this environment. Enable the currency in the environment.

Message: Entity of type 'ProgramCurrency' and identifier '{programCurrencyCode}' not found

PROGRAM_LEDGER_ENTRIES_NOT_FOUND_FOR_ACCOUNT​

No ledger entries for event

The event wrote no ledger entries to this customer's account, so there is nothing to reverse for them. Check the event id and the customer.

Message: No ledger entries found for event ID: {originalEventId} and program account ID: {programAccountId}

PROGRAM_LEDGER_ENTRIES_NOT_FOUND_FOR_EVENT​

No ledger entries for event

The event wrote no program currency ledger entries, so there is nothing to reverse. Check the event id.

Message: No ledger entries found for event ID: {originalEventId}

PROGRAM_LEDGER_NOT_FOUND​

Program ledger not found

No program ledger with this id exists in the environment. Check the programLedgerId.

Message: Entity of type 'ProgramLedger' and identifier '{programLedgerId}' not found

PROGRAM_LEDGER_PROGRAM_NOT_FOUND​

Ledger program not found

The program this ledger belongs to does not exist or is not available in this environment. Enable the program in the environment.

Message: Entity of type 'Program' and identifier '{programId}' not found

PROGRAM_LEDGER_STATEMENT_NOT_FOUND​

Statement not found

No ledger statement matches the request for this program account. Check the account and statement ids.

Message: Entity of type 'ProgramLedgerStatement' and identifier '{programLedgerStatement}' not found

PROGRAM_NOT_FOUND​

Program not found

No program has this ID or code in the organization. Check the identifier, or list the programs to find it.

Message: Entity of type 'Program' and identifier '{program}' not found

PROGRAM_PARTNER_NOT_FOUND​

Partner not found

No partner has this ID or code in the organization. Check the identifier, or list the partners to find it.

Message: Entity of type 'Partner' and identifier '{partner}' not found

PROGRAM_TEMPLATE_NOT_FOUND​

Program template not found

No program template with this id or code exists in the organization or among the system templates. Check the identifier, or list the program templates to find it.

Message: Entity of type 'ProgramTemplate' and identifier '{programTemplate}' not found

RECIPE_NOT_FOUND​

Recipe not found

The organization has no recipe of its own with this code. Core and package recipes can't be changed or deleted; save a recipe of your own with the same code to replace one.

Message: Entity of type 'Recipe' and identifier '{code}' not found

REWARDS_PORTAL_CONFIG_NOT_FOUND​

Portal config not found

No rewards portal configuration with this id exists in the caller's organization, or it was deleted. List the rewards portal configurations to find the right id.

Message: Entity of type 'PortalConfig' and identifier '{portalConfigId}' not found

REWARDS_PORTAL_CUSTOM_DOMAIN_NOT_FOUND​

Portal custom domain not found

The rewards portal configuration has no custom domain, or the hostname is not its custom domain. Set a custom domain on the configuration first.

Message: Custom domain '{identifier}' not found

REWARDS_PORTAL_ENTITLEMENT_NOT_FOUND​

Portal entitlement not found

No rewards portal entitlement with this id exists, or it was already removed. Nothing more needs to be done for it.

Message: Entity of type 'RewardsPortalEntitlement' and identifier '{entitlementId}' not found

REWARDS_PORTAL_RUNTIME_CONFIG_NOT_FOUND​

Published portal not found

No published rewards portal is served at this hostname. Publish the portal configuration, or check the hostname.

Message: No published rewards portal is served at hostname '{hostname}'

REWARDS_PORTAL_TENANT_IDENTITY_NOT_FOUND​

Portal hostname not registered

No verified rewards portal hostname matches. Check the hostname, or verify the custom domain first.

Message: No rewards portal is registered for hostname '{hostname}'

ROLE_ASSIGNMENT_NOT_FOUND​

Role assignment not found

The user does not hold this role, so there is nothing to unassign. List the user's roles to see what they hold.

Message: Role assignment not found

ROLE_NOT_FOUND​

Role not found

No role with this id exists in the caller's organization, or it was deleted. List the roles to find the right id.

Message: Entity of type 'Role' and identifier '{roleId}' not found

ROLE_SCOPE_NOT_FOUND​

Scope not on role

The role does not grant this scope, so there is nothing to remove. Read the role to see its scopes.

Message: Role does not have this scope assigned

SCOPE_NOT_FOUND​

Scope not found

No scope with this id exists. List the scopes to find the right id.

Message: Entity of type 'Scope' and identifier '{scopeId}' not found

STRIPE_BILLING_TERMS_NOT_FOUND​

Billing terms not found

Staff have not set billing terms for this organization. Set them with PUT first.

Message: Entity of type 'BillingTerms' and identifier '{organizationId}' not found

STRIPE_ORGANIZATION_NOT_FOUND​

Billing organization not found

The organization the billing request is for could not be found, or it is not the caller's. Sign in again; if it continues, contact support.

Message: Organization not found

STRIPE_REWARDS_PORTAL_ADD_ON_NOT_FOUND​

Rewards portal add-on not found

The organization has no active rewards portal add-on purchase to cancel. Purchase the add-on first.

Message: Entity of type 'RewardsPortalEntitlement' and identifier '{organizationEnvironmentId}' not found

STRIPE_SUBSCRIPTION_NOT_FOUND​

Subscription not found

The organization has no Stripe subscription yet. Finish billing setup to start one.

Message: Entity of type 'StripeSubscription' and identifier '{organizationId}' not found

TARGET_NOT_FOUND​

Target not found

No target has this ID or code in the organization. Check the identifier, or list the targets to find it.

Message: Entity of type 'Target' and identifier '{targetId}' not found

TARGET_PROGRAM_NOT_FOUND​

Program not found

No program has this code in the organization. Check the code, or list the programs to find it.

Message: Entity of type 'Program' and identifier '{programCode}' not found

UNPROCESSED_EVENT_ACTION_NOT_FOUND​

Unprocessed event action not found

No action with this id exists in the caller's organization and environment. Check the action id.

Message: Unprocessed event action {unprocessedEventActionId} was not found

UNPROCESSED_EVENT_NOT_FOUND​

Unprocessed event not found

No event with this id is waiting as unprocessed in the caller's organization and environment, or it was archived. Check the event id.

Message: Unprocessed event {eventId} was not found

VALIDATION_PROFILE_NOT_FOUND​

Validation profile not found

No validation profile with this id exists in the organization, or it was deleted. Check the id, or list the validation profiles to find it.

Message: Entity of type 'ValidationProfile' and identifier '{validationProfileId}' not found

WEBHOOK_BACKEND_NOT_AVAILABLE​

Webhooks not available

Webhooks are not turned on for this deployment yet. Contact support to ask when they will be.

Message: Webhooks are not available on this deployment

WEBHOOK_CONNECTOR_NOT_FOUND​

Webhook connector not found

No webhook connector has this kind. List the webhook connectors to see the supported kinds.

Message: Entity of type 'WebhookConnector' and identifier '{connectorKind}' not found

WEBHOOK_ENDPOINT_NOT_FOUND​

Webhook endpoint not found

No webhook endpoint with this id exists in the caller's organization and environment, or it was deleted. List the webhook endpoints to find the right id.

Message: Entity of type 'WebhookEndpointLink' and identifier '{endpointId}' not found

WEBHOOK_INGEST_SOURCE_NOT_FOUND​

Webhook ingest source not found

No webhook ingest source with this id exists in the caller's organization and environment, or it was deleted. List the ingest sources to find the right id.

Message: Entity of type 'WebhookIngestSource' and identifier '{ingestSourceId}' not found

WEBHOOK_INGEST_TRANSFORM_NOT_FOUND​

Ingest transformation not found

No ingest transformation is stored under this SHA-256. Read the source's config again for its current transformation hash.

Message: No ingest transformation has this hash

WEBHOOK_MESSAGE_ATTEMPT_NOT_FOUND​

Webhook message attempt not found

No delivery attempt with this id exists for the message. List the message's attempts to find the right id.

Message: Entity of type 'WebhookMessageAttempt' and identifier '{attemptId}' not found

WEBHOOK_MESSAGE_NOT_FOUND​

Webhook message not found

No webhook message with this id exists in the caller's organization and environment. List the webhook messages to find the right id.

Message: Entity of type 'WebhookMessage' and identifier '{messageId}' not found

WEBHOOK_ORGANIZATION_NOT_FOUND​

Organization missing for webhooks

The caller's organization could not be found while setting up webhooks. Sign in again; if it continues, contact support.

Message: Organization not found

WEBHOOK_ORGANIZATION_NOT_PROVISIONED​

Webhooks not provisioned

Webhooks have not been set up for this environment yet. Create a webhook endpoint first; that sets them up.

Message: No webhook organization provisioned for this environment

405 Method Not Allowed​

METHOD_NOT_ALLOWED​

Method not allowed

The path exists but does not accept this HTTP method. Check the API reference for the supported ones.

Message: This method is not allowed for this resource.

406 Not Acceptable​

NOT_ACCEPTABLE​

Not acceptable

The Accept header asks for a media type this endpoint does not produce. Accept application/json.

Message: The resource cannot be returned in the requested format.

409 Conflict​

AGREEMENT_ACCEPTANCE_STALE​

Accepted text out of date

The contentHash does not match the version in force or the upcoming version, usually because a new version was published meanwhile. Reload the current agreements and accept again.

Message: The {documentType} text you accepted is no longer current; reload the agreements and accept again.

AGREEMENT_DRAFT_ALREADY_OPEN​

Draft already open

Each agreement type has at most one draft. Edit the open draft, or delete it before starting a new one.

Message: A draft of {documentType} is already open; edit or delete it first.

AGREEMENT_DRAFT_CHANGED​

Draft changed since review

The expectedHash does not match the draft's current contentHash. Review the diff again and publish with the new contentHash.

Message: The draft changed after it was reviewed; review the diff again.

AGREEMENT_NOT_PUBLISHED​

Version not published

Drafts are deleted, not retired, and a retired version stays retired. Retire a published version.

Message: Only a published version can be retired.

AGREEMENT_UPCOMING_VERSION_EXISTS​

Upcoming version exists

Only one published version can wait for its effective date. Retire the upcoming version before publishing another.

Message: Version {versionLabel} of {documentType} is already published and not yet effective; retire it before publishing another.

AGREEMENT_VERSION_LABEL_TAKEN​

Version label taken

Another version of this agreement type already has this label, ignoring case. Choose a different versionLabel.

Message: Version {versionLabel} of {documentType} already exists.

AGREEMENT_VERSION_LOCKED​

Version cannot change

Only a draft can be edited, deleted, diffed or published. Create a new draft to change a published or retired version.

Message: Version {versionLabel} is {status} and cannot change; create a new draft instead.

AWS_MARKETPLACE_REGISTRATION_ALREADY_LINKED​

AWS account already linked

This AWS account already pays for a Loom Loyalty organization. Sign in with an account that belongs to it, or contact support to move the subscription.

Message: This AWS account is already linked to an organization

CONFLICT​

Conflict

The resource changed or is in a state that does not allow the request. Reload it and try again.

Message: The request conflicts with the resource's current state.

COUPON_CODE_ALREADY_EXISTS​

Coupon code already used

The offer already has a coupon with this code. Choose another coupon code or update the existing coupon.

Message: Coupon already exists for this offer

CUSTOMER_ALREADY_MERGED​

Customer already merged

The customer was already merged into another customer, so it can't take part in a new merge or redeem points. Use the customer it was merged into.

Message: {role} customer {customerId} has already been merged

CUSTOMER_AUDIENCE_COMPOSITE_COMPONENTS_MISSING​

Composite segment has no components

The composite segment lists no component segments, so there is nothing to compute. Add segments to composedOf.

Message: Composite segment does not have component segments defined

CUSTOMER_AUDIENCE_COMPUTE_NOT_PUBLISHED​

Can't compute an unpublished segment

Only a published segment can be computed. Publish the segment, then compute it.

Message: Cannot compute a {versionStatus} segment. Publish it first.

CUSTOMER_AUDIENCE_COMPUTE_SEGMENT_MODIFIED​

Segment changed during computation

The segment was edited while it was being computed, so the result was discarded. Compute it again.

Message: Segment was modified during computation. Please retry.

CUSTOMER_AUDIENCE_SEGMENT_ALREADY_PUBLISHED​

Segment is already published

Only a draft version can be published. Create a new version of the segment, then publish it.

Message: Segment is already PUBLISHED. Create a new version first via POST /customer-audiences/{customerAudienceId}/versions.

CUSTOMER_AUDIENCE_SEGMENT_EXPRESSION_MISSING​

Segment has no expression

The segment has no expression to preview or compute, for example because it is a composite segment. Preview its component segments, or add an expression.

Message: Segment does not have an expression defined

CUSTOMER_AUDIENCE_SEGMENT_NOT_MUTABLE​

Published segment is read-only

A published segment can't be edited in place. Create a new version, edit the draft, then publish it.

Message: Segment '{customerAudienceCode}' is PUBLISHED and cannot be modified. Create a new version first via POST /customer-audiences/{customerAudienceId}/versions.

CUSTOMER_AUDIENCE_SEGMENT_NOT_PUBLISHED​

Can't version an unpublished segment

A new version can only be made from a published segment. Publish the current draft first.

Message: Only PUBLISHED segments can create a new version. Current status: {versionStatus}

CUSTOMER_AUDIENCE_SYSTEM_SEGMENT_READ_ONLY​

System segment is read-only

Loom Loyalty creates and maintains the lifecycle system segments, so they can't be changed, versioned or deleted. Create your own segment instead.

Message: Segment '{customerAudienceCode}' is a Loom Loyalty-managed system segment and cannot be modified or deleted.

CUSTOMER_AUDIENCE_VERSION_MISMATCH​

Segment version mismatch

The segment has moved on to another version since it was loaded. Reload the segment and publish its current version.

Message: Version mismatch: URL version {version} does not match current version {currentVersion}

Event already linked

The case already links this event. Each event can be linked to a case once.

Message: Event '{eventId}' is already linked to this case

Link limit reached

Remove a link you no longer need, or link the event to fewer cases.

Message: A case links at most {linksPerCase} events, and an event links to at most {casesPerEvent} cases

CUSTOMER_CASE_TYPE_CODE_EXISTS​

Case type code taken

Case type codes are unique per environment, and missing-points is reserved. Choose another code.

Message: A customer case type with code '{code}' already exists

Idempotency key reused

A retry must send the same channel, purpose, status, source and termsHash as the first request. Use a new key for a new consent record.

Message: This Idempotency-Key was already used for a different consent for this customer

CUSTOMER_COUPON_ALREADY_ASSIGNED​

Coupon already issued

This coupon is already issued to the customer. Issue a different coupon or cancel the existing one first.

Message: Coupon is already assigned to this entity

CUSTOMER_COUPON_CANCELLED​

Coupon cancelled

The customer coupon was cancelled, so it can no longer be held, used or returned.

Message: Coupon is cancelled

CUSTOMER_COUPON_MAX_USES_REACHED​

Coupon use limit reached

The coupon's active uses and holds already reach the offer's maxOfferUses. Return a use or hold first.

Message: Coupon has reached max offer uses

CUSTOMER_COUPON_NOT_ACTIVE​

Coupon not active

The event date falls outside the coupon's valid period: it has expired or has not started yet.

Message: Coupon is not active

CUSTOMER_COUPON_USE_ALREADY_HELD​

Coupon already held

A hold with this reference already exists for the coupon. Use or return the existing hold instead.

Message: Coupon is already held

CUSTOMER_COUPON_USE_HOLD_ALREADY_USED​

Coupon already used

The coupon was already used under this couponUseReferenceId, so it cannot be held for it again.

Message: Cannot hold coupon - already used for reference ID: {couponUseReferenceId}

CUSTOMER_COUPON_USE_HOLD_REFERENCE_EXISTS​

Coupon hold already exists

The coupon already has a hold with this couponUseReferenceId. Use another reference id or use the existing hold.

Message: Coupon hold reference ID already exists: {couponUseReferenceId}

CUSTOMER_COUPON_USE_INVALID_TRANSITION​

Coupon use change not allowed

A hold can become a use or a return, and a use can become a return. A return is final, and a use cannot go back to a hold. Record a new hold or use instead.

Message: Cannot change coupon use {customerCouponUseId} from {fromStatus} to {toStatus}

CUSTOMER_COUPON_USE_REFERENCE_EXISTS​

Coupon use already exists

The coupon was already used with this couponUseReferenceId. Use another reference id.

Message: Coupon use reference ID already exists: {couponUseReferenceId}

CUSTOMER_COUPON_USE_RETURN_TARGET_AMBIGUOUS​

Return target unclear

The coupon has more than one active hold or use, so a return must name one. Send the couponUseReferenceId of the hold or use to return.

Message: Cannot return coupon {customerCouponId} without a reference id: it has {activeCount} active holds or uses

CUSTOMER_DATA_EXPORT_ALREADY_ACTIVE​

Data export already active

Only one data export of a customer can be queued or running at a time. Wait for it to finish, then download it or request another.

Message: A data export of this customer is already queued or running.

CUSTOMER_DATA_EXPORT_NOT_READY​

Data export not ready

Only a DELIVERED export can be downloaded, until its expiresDateTime. Wait for a QUEUED or RUNNING export to finish; request a new export when one FAILED or EXPIRED.

Message: Data export '{customerDataExportId}' has no archive to download.

CUSTOMER_EXTERNAL_OFFER_CANCELLED_NOT_USABLE​

Cancelled offers can't be used

This issued offer was cancelled, so it cannot be marked used.

Message: Cannot use external offer {customerExternalOfferId}: it has been cancelled

CUSTOMER_EXTERNAL_OFFER_PARTNER_REWARD_NOT_CANCELLABLE​

Partner rewards can't be cancelled

This issued offer is a partner reward, such as a gift card, that the partner sold and cannot take back, so it cannot be cancelled.

Message: Cannot cancel external offer {customerExternalOfferId}: it is partner reward order {partnerOrderId}

CUSTOMER_EXTERNAL_OFFER_USED_NOT_CANCELLABLE​

Used offers can't be cancelled

This issued offer has already been used, so it cannot be cancelled.

Message: Cannot cancel external offer {customerExternalOfferId}: it has been used

CUSTOMER_FRAUD_CASE_STATUS_CHANGE_REFUSED​

Fraud case already decided

A reviewer can clear or confirm an OPEN fraud case, and clear a CONFIRMED one to undo the confirmation. Another reviewer may have decided it first; reload the case.

Message: Fraud case '{fraudCaseId}' is {from}; it can't be set to {to}

CUSTOMER_GROUP_CODE_EXISTS​

Group code taken

Group codes are unique per environment. Choose another code.

Message: A customer group with code '{code}' already exists

CUSTOMER_GROUP_MAX_MEMBERS​

Group is full

The group's policy caps its members. Remove a member, or raise maxMembers.

Message: Group '{customerGroupId}' allows at most {maxMembers} members

CUSTOMER_GROUP_MEMBER_DUPLICATE_TYPE​

Already in a group of this type

A customer is in at most one active group of each type. Remove them from the other group first.

Message: Customer '{customerId}' is already in an active group of type '{typeCode}'

CUSTOMER_GROUP_MEMBER_EXISTS​

Already a member

Update the membership instead of adding the customer again.

Message: Customer '{customerId}' is already a member of group '{customerGroupId}'

CUSTOMER_GROUP_NOT_EMPTY​

Group not empty

A group can be deleted only with no members, no child groups and a zero balance. Remove the members and child groups and spend or zero the balance first.

Message: Group '{customerGroupId}' still has {reason}

CUSTOMER_GROUP_OWNER_DUPLICATE​

Group already has an owner

A group has one owner. To hand over ownership, update another member's role to OWNER: the current owner becomes a MEMBER who can still redeem.

Message: Group '{customerGroupId}' already has an owner

CUSTOMER_GROUP_OWNER_REQUIRED​

Owner required

A group with members keeps one owner. Make another member the owner first (the current owner becomes a MEMBER), or remove the other members.

Message: Group '{customerGroupId}' would have members but no owner

CUSTOMER_OFFER_MAX_REDEMPTIONS_REACHED​

Offer redemption limit reached

The customer already holds as many of this offer as its maxOfferRedemptions allows. Cancel an issued one or raise the offer's limit.

Message: Entity has reached maximum redemptions ({maxOfferRedemptions}) for this offer

CUSTOMER_PORTAL_MEMBER_MERGE_INVALID_TRANSITION​

Merge status conflict

The merge already moved on. Read it again and continue from its current status.

Message: A {from} merge cannot become {to}

CUSTOMER_PORTAL_MEMBER_MERGE_NOT_ALLOWED​

Merge not allowed

Only a member with no activity yet can combine with another account in the rewards portal. Ask the program's staff to combine the accounts.

Message: This member has points, punches, coupons, tiers or badges and cannot be merged here

CUSTOMER_PORTAL_MEMBER_MERGE_UNFINISHED​

Account combined

The member combined this account with another. If the merge is still CONFIRMED, list the member's merges and complete it; otherwise sign in with the account it was combined into.

Message: This sign-in was combined into another account

CUSTOMER_PORTAL_PHONE_NUMBER_IN_USE​

Phone number in use

Another customer in this organization environment already has this phone number, so it can't be added to this member. Use a different number.

Message: This phone number belongs to another customer

CUSTOMER_PORTAL_RECOVERY_EMAIL_NOT_NEEDED​

Recovery email not needed

This member already signs in with a real email address. A recovery email is only for members who joined with a phone number alone.

Message: Only a member who signed in by phone can add a recovery email

CUSTOMER_REDEMPTION_CHECK_BUSY​

Redemption check busy

The fraud module checks a customer's redemptions, and reviews of their fraud cases, one at a time. Another redemption for this customer was still being checked. Retry the request.

Message: Another redemption for customer '{customerId}' is being checked; try again

CUSTOMER_REFERRAL_CODE_GENERATION_FAILED​

Referral code not generated

Every generated referral code collided with an existing one. Try again; if it keeps happening, widen the program's referral code format.

Message: Could not generate a unique referral code; try again

CUSTOMER_SIGN_IN_IDEMPOTENCY_KEY_REUSED​

Idempotency key reused

A retry must send the same deviceId and signedInDateTime as the first request. Use a new key for a new sign-in.

Message: This Idempotency-Key was already used for a different sign-in for this customer

CUSTOMER_WALLET_DEVICE_OWNED_BY_OTHER_CUSTOMER​

Wallet device registered to another customer

This device and pass are already registered to a different customer, so the registration can't be moved. Unregister it from that customer first.

Message: Wallet-device registration belongs to a different customer

CUSTOMER_WALLET_PASS_ALREADY_EXISTS​

Wallet pass already exists

Another wallet pass already uses this pass type identifier and serial number. Use a new serial number.

Message: A wallet pass already exists for this pass type identifier and serial number

DATA_MODEL_ELEMENT_SYSTEM_READ_ONLY​

System data model element is read-only

Loom Loyalty manages this element, so it cannot be changed or deleted. Add an element of your own instead.

Message: Cannot modify or delete a system-managed data model element

DATA_MODEL_NEW_VERSION_REQUIRES_PUBLISHED​

Data model is not published

A new version is copied from a PUBLISHED version, and this version is not PUBLISHED. Create the new version from the published one, or publish this draft first.

Message: Can only create a new version from a PUBLISHED DataModel

DATA_MODEL_NOT_MUTABLE​

Data model version is not editable

Published versions are read-only. Create a new draft version and edit that instead.

Message: Cannot modify a PUBLISHED DataModel

DATA_MODEL_PUBLISH_REQUIRES_DRAFT​

Data model is not a draft

Only a DRAFT version can be published, and this version is already published. Create a new version to make further changes.

Message: Can only publish a DRAFT DataModel

DATA_MODEL_SYSTEM_DELETE_FORBIDDEN​

System data model cannot be deleted

Loom Loyalty system and primitive data models cannot be deleted. Leave the data model in place, or remove the elements you added to it.

Message: Cannot delete system or primitive data model

DATA_MODEL_TYPE_SYSTEM_READ_ONLY​

System data model type is read-only

Loom Loyalty system and primitive data model types cannot be changed or deleted. Create a data model type of your own instead.

Message: Cannot modify or delete system or primitive data model type

DEVICE_ALREADY_CLAIMED​

Device already claimed

This confirmation code was already used to claim a device. Restart pairing on the device to get a new code.

Message: This device has already been claimed

DLQ_RECORD_CHANGED_DURING_REPLAY​

DLQ record changed during replay

The record changed while the replay was claiming it, so nothing was sent. Run a new dry run.

Message: DLQ record '{dlqEventId}' changed during the replay; run a new dry run

DLQ_RECORD_NOT_OPEN​

DLQ record not open

Only an OPEN record can be resolved. Reload the record to see its current state.

Message: DLQ record '{dlqEventId}' is {state}; only an OPEN record can be resolved

DLQ_RECORD_NOT_REOPENABLE​

DLQ record not resolved

Only a RESOLVED record can be reopened. Reload the record to see its current state.

Message: DLQ record '{dlqEventId}' is {state}; only a RESOLVED record can be reopened

DLQ_RECORD_RESOLVED​

DLQ record already resolved

A resolved record is not replayed. Reopen it first if it should be replayed after all.

Message: DLQ record '{dlqEventId}' is RESOLVED; reopen it before replaying it

DLQ_REPLAY_GROUPS_CHANGED​

Replay groups changed

The consumer groups the record would reach differ from those its dry run showed. Run a new dry run to review them.

Message: The consumer groups for DLQ record '{dlqEventId}' changed since its dry run (now {groups}); run a new dry run

DLQ_REPLAY_TOKEN_SUPERSEDED​

Replay token superseded

Another replay used the token or changed the records while this one ran. Run a new dry run.

Message: This replay token is no longer valid; run a new dry run

DLQ_REPLAY_TOKEN_USED​

Replay token already used

Each dry-run token replays once. Run a new dry run to replay the records again.

Message: This replay token was already used; run a new dry run

DUPLICATE_RESOURCE​

Duplicate resource

A unique value such as a code, name or external id is already taken. Choose another value or update the existing resource.

Message: A resource with the same unique value already exists.

ENVIRONMENT_WORKFLOW_STEP_ALREADY_PROCESSED​

Workflow step already processed

The approval step was already approved or rejected, so its decision cannot change. Reload the workflow request to see the step's current status.

Message: Step has already been processed and cannot be {action}

EVENT_ALREADY_CANCELLED​

Event already cancelled

The event was already cancelled, so there is nothing left to cancel.

Message: Event {eventId} has already been cancelled

EVENT_ALREADY_PROCESSED​

Event already processed

An event with this id was already processed. Submit a new event with a new id, or update or cancel the existing event.

Message: Event has already been processed

EVENT_CANCEL_FAILED​

Event failed

An event that failed processing issued nothing, so it cannot be cancelled.

Message: Cannot cancel a failed event: {eventId}

EVENT_CANCEL_STATUS_NOT_ALLOWED​

Event cannot be cancelled

Only processed, skipped or updated events can be cancelled. Wait for the event to finish processing, then retry.

Message: Cannot cancel event in status {status}: {eventId}

EVENT_CANCELLATION_NOT_CANCELLABLE​

Cancellation cannot be cancelled

A cancellation cannot be undone. To restore what it reversed, submit the original event again.

Message: Event {eventId} is a cancellation and cannot itself be cancelled

EVENT_CHECKOUT_CHANGE_NOT_SUPPORTED​

Checkout event

This event is a checkout. Change it through its checkout status; updating or cancelling it as a plain event is not supported.

Message: Event {eventId} is a checkout and cannot be updated or cancelled here

EVENT_FEED_CLONE_SOURCE_EMPTY​

Clone source has no version

The feed named in fromFeedId has no version, so there is nothing to clone. Clone a feed with a version, or send a definition.

Message: The feed to clone has no version to copy

EVENT_FEED_CODE_TAKEN​

Event feed code taken

Another event feed in the organization already uses this code. Choose a different code.

Message: An event feed with code '{code}' already exists

EVENT_FEED_ENVIRONMENT_NOT_SFTP​

Feed source is not SFTP

Only an SFTP source uses a key pair. Set the environment's source to SFTP before issuing a key.

Message: Only an SFTP source has a key pair; this environment's source is {sourceType}

EVENT_FEED_IMPORT_ENTITLEMENT_ALREADY_EXISTS​

Import entitlement already exists

The organization already has an import entitlement. Update it instead of creating another.

Message: Organization {organizationId} already has an import entitlement

EVENT_FEED_IMPORTS_NOT_READY​

Event feed imports not ready

File imports are turned on, but this environment can't post their rows yet, so no file is taken. Start the upload again later.

Message: Event feed imports can't take files in this environment yet.

EVENT_FEED_IN_USE​

Event feed in use

An environment still runs one of the feed's versions. Disable the feed in every environment, then delete it.

Message: The event feed can't be deleted while an environment runs one of its versions; disable it in every environment first

EVENT_FEED_NO_VERSION_TO_COPY​

No version to copy

The feed has no version to start a new draft from. Name a version with fromVersion, or create the feed again with a definition.

Message: The feed has no version to copy

EVENT_FEED_RUN_NOT_ACTIVE​

Event feed not active

A file can be uploaded only to a feed that is enabled in the caller's environment, active and pinned to a published version. Enable or resume the feed there, then start the upload again.

Message: The event feed isn't enabled and active in this environment.

EVENT_FEED_RUN_NOT_AWAITING_UPLOAD​

Run not waiting for an upload

Only an API upload run that is still AWAITING_UPLOAD can be marked UPLOADED or CANCELLED. Start a new upload for another file.

Message: The event feed run isn't waiting for an upload; it is {state}.

EVENT_FEED_UPLOAD_MISSING​

Upload missing

A run is marked UPLOADED only once its file is at the presigned upload URL the run returned. PUT the file there, then mark the run UPLOADED again.

Message: Nothing was uploaded to the run's upload URL; PUT the file there first.

EVENT_FEED_VERSION_NOT_DRAFT​

Version is not a draft

Only a draft version's definition can change. Create a new draft version from this one instead.

Message: Version {version} is {status}; only a draft's definition can change. Start a new draft from it instead

EVENT_FEED_VERSION_PINNED​

Version in use

An environment still runs this version. Move every environment to another version, then archive it.

Message: Version {version} can't be archived while an environment runs it; move every environment to another version first

EVENT_FEED_VERSION_TRANSITION_INVALID​

Version status change not allowed

A version moves from DRAFT to PUBLISHED, between PUBLISHED and PAUSED, and to ARCHIVED. Choose a status the version can move to from its current one.

Message: Version {version} is {from} and can't become {to}

EVENT_OCCURRENCE_TARGET_NOT_ACHIEVED​

Occurrence target not achieved

The rule's occurrence target could not be completed for this event, usually because another event changed it at the same time. Resubmit the event with a new id.

Message: Completion target was not achieved when it should have been

EVENT_OCCURRENCE_TARGET_NOT_INCREMENTED​

Occurrence target not incremented

The rule's occurrence counter could not be incremented for this event, usually because another event changed it at the same time. Resubmit the event with a new id.

Message: Counter target was not incremented when it should have been

EVENT_PARTNER_REWARD_NOT_REFUNDABLE​

Partner rewards can't be refunded

The event issued a partner reward, such as a gift card, that the partner sold and cannot take back, so the event cannot be undone and the points stay spent.

Message: Cannot undo or change event {eventId}: it issued partner reward order {partnerOrderId}

EVENT_PROCESSING_IN_PROGRESS​

Event already in progress

Another request is processing an event with the same id. Wait for it to finish, then read the event instead of submitting it again.

Message: Event is already being processed

EVENT_REDEMPTION_COUPON_ALREADY_USED​

Redeemed coupon already used

A redemption can only be undone while the coupon it issued is unused. This coupon has a hold or a use recorded, or has expired, so the points stay spent.

Message: Cannot undo redemption {eventId}: its coupon {customerCouponId} has been used, is held or has expired

EVENT_REDEMPTION_COUPON_UNRESOLVED​

Redeemed coupon not found yet

A redemption is undone together with the coupon it issued, and that coupon can't be found: it is still being issued, or which of the member's coupons it is can't be told. If it is still being issued, retry once it has landed. Otherwise resolve it by hand: cancel the coupon and return the points; the event can't be cancelled here.

Message: Cannot undo redemption {eventId} yet: {reason}

EVENT_RULE_CHANGED_WHILE_DELETING​

Event rule changed during delete

Another request published, paused or archived this version while the delete waited for it, so the delete stopped rather than remove a version you didn't mean to. Reload the rule and decide again.

Message: Event rule {code} v{version} became {versionStatus} while it was being deleted; nothing was deleted

EVENT_RULE_CODE_EXISTS​

Event rule code already exists

Rule codes are unique in an organization, so creating a rule with a code that exists would leave two rules for one purpose. Change the existing rule through its draft instead, or pick a new code.

Message: Event rule {code} already exists ({eventRuleId}). To change it, start a draft with POST /event-rules/{eventRuleId}/versions, edit it, then publish it.

EVENT_RULE_CODE_EXISTS_ELSEWHERE​

Event rule code used in another environment

Rule codes are unique in an organization, across every environment. A rule enabled only in another environment already uses this code, so pick a new one.

Message: Event rule code {code} is already used by a rule in another environment. Pick a new code.

EVENT_RULE_CODE_IMMUTABLE​

Event rule code can't change

Every version of a rule shares one code, so a draft can't rename the rule once another version exists. Keep the code, or create a new rule with the new code.

Message: Cannot change the code of event rule {code}: other versions share it

EVENT_RULE_DRAFT_ALREADY_OPEN​

Event rule draft already open

A rule has at most one draft. Creating a version with publish=true would publish a copy and leave the open draft's edits behind, so it is refused. Publish the open draft, or delete it and try again.

Message: Event rule {code} already has an open draft, v{version} ({draftEventRuleId}). Publish or delete that draft first.

EVENT_RULE_DRAFT_OPEN_ELSEWHERE​

Event rule draft open in another environment

A rule has at most one draft, and this rule's draft is enabled only in an environment you are not working in. Switch to that environment to publish or delete it, then start a new draft here.

Message: Event rule {code} already has an open draft in another environment. Publish or delete it there first.

EVENT_RULE_LIVE_ELSEWHERE​

Event rule live in another environment

A draft runs where the live version runs, and publishing it replaces the live version everywhere it runs. This rule's live version is enabled only in an environment you are not working in, so its draft has to be started, checked and published from there.

Message: Event rule {code} is live in another environment. Start its draft there.

EVENT_RULE_NEW_VERSION_REQUIRES_PUBLISHED​

Event rule is not published

A new version is copied from the rule's PUBLISHED version, and this version is not PUBLISHED. Create the new version from the published one, or edit the existing draft.

Message: Can only create a new version from a PUBLISHED EventRule

EVENT_RULE_NEWER_VERSION_EXISTS​

Event rule version is old

Only a rule's newest version can be published or resumed. A newer version has replaced this one, so it stays inactive. To bring its content back, edit the current version (which starts a draft) and publish that.

Message: Event rule {code} v{version} is an old version: v{newerVersion} replaced it. Old versions can't be made live again; edit the current version instead.

EVENT_RULE_NOT_MUTABLE​

Event rule version is not editable

Published, paused and archived versions are read-only. The message names the rule's open draft to edit instead, or says how to start one: POST /event-rules/{id}/versions returns the open draft, or makes one that runs where the live version runs. Edit the draft, then publish it.

Message: Cannot modify a {versionStatus} EventRule; only DRAFT versions are mutable. {nextStep}

EVENT_RULE_PAUSE_REQUIRES_PUBLISHED​

Event rule is not published

Only a PUBLISHED version can be paused. Reload the rule to see its current status.

Message: Can only pause a PUBLISHED EventRule

EVENT_RULE_PUBLISH_REQUIRES_DRAFT​

Event rule is not a draft

Only a DRAFT version can be published, and this version is already past that. Create a new version to make changes and publish that.

Message: Can only publish a DRAFT EventRule

EVENT_RULE_RESUME_REQUIRES_PAUSED​

Event rule is not paused

Only a PAUSED version can be resumed. Reload the rule to see its current status.

Message: Can only resume a PAUSED EventRule

EVENT_RULE_VERSION_MISMATCH​

Event rule version mismatch

The version in the URL is not the rule's current version, usually because someone created a newer version. Reload the rule and retry with its current version.

Message: Version mismatch: URL version {version} does not match current version {currentVersion}

EVENT_TYPE_ROLE_ALREADY_EXISTS​

Role already listed

This role is already allowed to use this event type, so there is nothing to add.

Message: Role '{roleId}' is already listed on event type '{eventTypeCode}'

EVENT_UPDATE_CANCELLED​

Event is cancelled

A cancelled event cannot be updated. Submit a new event instead.

Message: Cannot update a cancelled event: {eventId}

EVENT_UPDATE_FAILED​

Event failed

An event that failed processing cannot be updated. Submit a new event instead.

Message: Cannot update a failed event: {eventId}

EVENT_UPDATE_PROGRAM_WIDE_COUNTER​

Event counted by a program-wide counter

An event that a program-wide cap or budget counted, or could count under today's rules, can't be edited in place, because an edit would change the shared counter outside its lock. Cancel the event, which gives back its slot and budget, and post it again.

Message: Cannot update event {eventId}: a program-wide counter counts it

EVENT_UPDATE_STATUS_NOT_ALLOWED​

Event cannot be updated

Only processed, skipped or updated events can be updated. Wait for the event to finish processing, then retry.

Message: Cannot update event in status {status}: {eventId}

FEATURE_OPT_IN_UNAVAILABLE​

Feature not available

The organization is not entitled to the feature, and it cannot be bought as an add-on. Upgrade the plan to one that includes it.

Message: Feature is not available for this organization

FILE_EXPORT_ENTITLEMENT_ALREADY_EXISTS​

Export entitlement already exists

The organization already has an export entitlement. Update it instead of creating another.

Message: Organization {organizationId} already has an export entitlement

FILE_EXPORT_PAUSED​

File export paused

A paused export cannot be run now. Resume the export first.

Message: File export {fileExportId} is paused; resume it before running it

FILE_EXPORT_RUN_ALREADY_QUEUED​

Run-now already pending

The export already has a run-now that is queued or running. Wait for it to finish before starting another.

Message: File export {fileExportId} already has a run-now waiting or running; wait for it to finish

FLOW_ARCHIVE_REQUIRES_LIVE​

Flow version can't be archived

Only a PUBLISHED or PAUSED version can be archived; a draft can be deleted instead. Reload the flow to see the version's current status.

Message: Can only archive a PUBLISHED or PAUSED flow version

FLOW_NEW_VERSION_REQUIRES_PUBLISHED​

Flow is not published

A new version is copied from the flow's PUBLISHED version, and the flow has none. Publish the draft first, or keep editing it.

Message: Can only create a new version from a PUBLISHED flow

FLOW_PAUSE_REQUIRES_PUBLISHED​

Flow version is not published

Only a PUBLISHED version can be paused. Reload the flow to see the version's current status.

Message: Can only pause a PUBLISHED flow version

FLOW_PUBLISH_REQUIRES_DRAFT​

Flow version is not a draft

Only a DRAFT version can be published. Create a new version to make changes and publish that.

Message: Can only publish a DRAFT flow version

FLOW_RESUME_REQUIRES_PAUSED​

Flow version is not paused

Only a PAUSED version can be resumed. Reload the flow to see the version's current status.

Message: Can only resume a PAUSED flow version

FLOW_VERSION_NOT_MUTABLE​

Flow version is not editable

Published, paused and archived versions are read-only. Create a new draft version and edit that instead.

Message: Cannot modify a {versionStatus} flow version; only DRAFT versions are mutable

HOUSE_SLUG_TAKEN​

House sender name taken

Each house sender name belongs to one organization, and an organization keeps the first name it picks. Pick another name, or use the one your organization already has.

Message: The house sender name '{houseSlug}' is not available

HUB_COMPONENT_ALREADY_CURRENT​

Hub component version already current

The hub already runs this component version, so there is nothing to roll back. Pick a different version.

Message: Already on version '{version}'

HUB_COMPONENT_VERSION_EXISTS​

Hub component version exists

A component bundle with this version was already uploaded for the hub. Raise the version in the manifest and upload again.

Message: Component version '{version}' already exists

HUB_CONFIG_REACTIVATE_NOT_SUSPENDED​

Hub not suspended

Only a SUSPENDED hub can be reactivated. Check the hub's status; a hub that is already active needs no change.

Message: Hub config can only be reactivated from SUSPENDED status, current status: {status}

HUB_CONFIG_SUSPEND_NOT_ACTIVE​

Hub not active

Only an ACTIVE hub can be suspended. Check the hub's status; a hub that is already suspended needs no change.

Message: Hub config can only be suspended from ACTIVE status, current status: {status}

HUB_DOMAIN_HOSTNAME_TAKEN​

Hub hostname taken

Another hub already uses this custom hostname. Choose a different hostname, or remove it from the other hub first.

Message: Hostname '{hostname}' is already in use

HUB_SUBDOMAIN_TAKEN​

Hub subdomain taken

The hub subdomain comes from the organization code, and another organization's hub already uses it. Contact support to resolve the clash.

Message: Subdomain '{subdomain}' is already in use by another organization

LOGIN_USER_INVITATION_ALREADY_MEMBER​

Already a member

This person is already a member of the organization, so nothing was sent. Change their role on the users page instead.

Message: {email} is already a member of the organization

LOGIN_USER_INVITATION_ALREADY_PENDING​

Invitation already pending

This person already has an invitation that has not been accepted, so nothing was sent. Revoke it first to invite them with a different role.

Message: {email} already has a pending invitation

LOGIN_USER_INVITATION_LIMIT_REACHED​

Too many pending invitations

The organization has reached the most invitations that can wait to be accepted at once. Revoke some, or wait for them to be accepted or expire, then invite again.

Message: The organization already has {limit} pending invitations

M2M_CLIENT_INGEST_SOURCE_UNUSABLE​

Webhook source client unusable

The webhook ingest source's API client is missing, revoked, not a source client, or its webhook-ingest role holds more than event submission. Recreate the source, or reset that role to event-engine:events:write only.

Message: API client {m2mClientId} cannot act for a webhook ingest source: {reason}

M2M_CLIENT_MANAGED_BY_INGEST_SOURCE​

Webhook source client is managed by its source

A webhook ingest source's API client is created, changed and deleted with its source. Rotate the source's URL or delete the source instead.

Message: API client {m2mClientId} belongs to a webhook ingest source; change or delete the source instead

M2M_CLIENT_NOT_ROTATABLE​

API client cannot be rotated

Only an active API key that is not revoked or expired can be rotated, and a device key is replaced by claiming the device again. Create a new API client instead.

Message: API client {m2mClientId} cannot be rotated: {reason}

MCP_VERSION_MISMATCH​

Tool version argument is stale

The version the tool call names is not the resource's current version, so nothing changed. Read the resource again and call the tool with its current version.

Message: Version mismatch: version {version} is not the current version {currentVersion}

MESSAGE_TEMPLATE_EXISTS​

Message template code in use

Template codes are unique in an environment. Update the existing template, or pick another code.

Message: This environment already has a message template with code '{code}'

MESSAGING_CONNECTION_CHANGED_DURING_VERIFICATION​

Connection changed during check

The role, region, from address or configuration set changed while the check ran, so its result was not saved. Check the connection again.

Message: Messaging connection '{messagingConnectionId}' changed while it was being checked

MESSAGING_CONNECTION_EXISTS​

Messaging connection already exists

An environment has one messaging connection per channel. Update the existing connection, or delete it before creating another.

Message: This environment already has a {channel} messaging connection

MESSAGING_CONNECTION_NO_PHONE_NUMBER​

SMS number not attached yet

A house SMS connection becomes active once Loom Loyalty attaches the brand's toll-free number, after the carriers verify it. Contact Loom Loyalty support to finish the setup.

Message: Connection '{messagingConnectionId}' has no phone number yet

MESSAGING_CONNECTION_NOT_SUPPORTED​

Connection not supported yet

The connection uses a provider a later release creates and manages (a brand's own Sinch account). This release reads it but can't update or check it.

Message: Connection '{messagingConnectionId}' can't be changed or checked yet

METADATA_HIERARCHY_VIEW_CODE_TAKEN​

Hierarchy view code taken

Another metadata hierarchy view in this environment already uses this code. Choose a different code, or update the existing view.

Message: A hierarchy view with code {code} already exists

OFFER_PARTNER_ALREADY_ENROLLED​

Already enrolled with the offer partner

An environment has one enrolment per partner. Change the existing enrolment, or set its status to ACTIVE to opt back in, instead of creating another.

Message: This environment already has a {partnerCode} enrolment '{enrollmentId}'

OFFER_PARTNER_CATALOG_CHANGE_NOT_PENDING​

Catalog change already settled

Only a pending change can be accepted or dismissed. A change the sync applied on its own is kept to tell you about it.

Message: The catalog change '{catalogChangeId}' is {status}, not PENDING

OFFER_PARTNER_DUPLICATE_ORDER​

Partner order already placed

The partner already holds an order with this unique ID, so a second one was not placed. Look the order up by its reference instead of ordering again.

Message: The {partnerCode} order '{uniqueId}' was already placed

OFFER_PARTNER_EMAIL_UNAVAILABLE​

Partner email unavailable

The partner can email a reward only for an order whose ordering answer was received. This order was recovered by its reference, so send the member the reward link instead.

Message: The {partnerCode} order '{partnerOrderId}' cannot be emailed by the partner

OFFER_PARTNER_INSUFFICIENT_FUNDS​

Partner balance too low

The partner account cannot cover this order. Platform staff fund the partner account; the order can be placed again once it is funded.

Message: The {partnerCode} account has too little balance for this order

OFFER_PARTNER_ITEM_ALREADY_LINKED​

Partner item already linked

The organization already offers this item, or the same import lists it twice. Change the existing link's face values instead; nothing in the import was created.

Message: The {partnerCode} item '{partnerItemId}' is already linked to an offer

OFFER_PARTNER_ITEM_UNAVAILABLE​

Partner item unavailable

The partner has disabled or removed this item, so it cannot be ordered. The next catalog sync retires it; choose another item.

Message: The {partnerCode} item '{partnerItemId}' is not available

OFFER_PARTNER_NOT_ENROLLED​

Not enrolled with the offer partner

The environment has no active enrolment with this partner, so its catalog and partner rewards are not available. An organization admin opts in by creating an enrolment first.

Message: This environment is not enrolled with {partnerCode}

OFFER_PARTNER_OFFER_CODE_TAKEN​

Offer code taken

Another offer, or another item in the same import, already uses this code. Choose a different code for the offer; nothing in the import was created.

Message: The offer code '{code}' is already taken

Offer link retired

A retired link no longer offers its item and cannot be changed. Import the item again to offer it.

Message: The {partnerCode} offer link '{offerLinkId}' is retired

OFFER_PARTNER_OPEN_ORDERS​

Partner orders still open

Removing the integration now would strand orders waiting for confirmation or not yet shipped. Confirm or reject the waiting orders and let the rest ship, then remove it.

Message: {openOrders} {partnerCode} orders are still open

OFFER_PARTNER_ORDER_DETAILS_LOCKED​

Order details locked

The redemption already placed its order with these details, so they stay as they were.

Message: The order details of redemption '{redemptionReference}' can no longer change

OFFER_PARTNER_ORDER_NOT_AWAITING​

Order not waiting for confirmation

Only a draft in the confirm queue can be confirmed or rejected. Someone else answered it, or it expired; reload the queue.

Message: Order '{orderId}' is {status}, not waiting for confirmation

OFFER_PARTNER_REWARD_FAILED​

Partner reward order failed

The partner refused this order earlier, so nothing was charged and the member's points were not spent. Redeem again with a new request.

Message: Partner reward order '{orderId}' failed with {failureCode}

OFFER_PARTNER_REWARD_REDEMPTION_ONLY​

Partner reward issued only by redemption

A partner reward costs real money and cannot be refunded, so it is issued only when a member redeems it through a redemption rule. Issue it with a redemption event instead.

Message: Partner reward offer '{offerId}' is issued only by a member's redemption

OFFER_PARTNER_REWARD_TRY_LATER​

Partner reward not ordered yet

The partner did not confirm the order in time, so the member's points were not spent. Loom Loyalty settles the order with the partner; try the redemption again in a few minutes.

Message: Partner reward order '{orderId}' could not be completed right now

OFFER_PARTNER_REWARD_UNAVAILABLE​

Partner reward unavailable

The reward is paused, retired, or no longer sold at this face value, so nothing was ordered and the member's points were not spent. Choose another reward.

Message: Partner reward offer '{offerId}' is not available at {denomination}

OFFER_PARTNER_WALLET_INSUFFICIENT​

Wallet balance too low

The brand's partner-rewards wallet cannot cover this reward's face value, so nothing was taken from it. The reward becomes available again once the wallet is topped up.

Message: The wallet holds {balance} {currency}, less than the {amount} needed

OFFER_PARTNER_WALLET_NOT_APPLICABLE​

Wallet not applicable

Only PRODUCTION environments pay for partner rewards from a wallet. Rewards redeemed in any other environment are sandbox orders that cost nothing.

Message: A {environmentType} environment has no partner-rewards wallet

OFFER_PARTNER_WEBHOOK_IN_USE​

Partner store webhook in use

A partner store has one webhook, and this one already sends its events to another address. Turn on replacing the existing webhook in the integration's settings to point it at Loom Loyalty; the other address then stops getting the store's events.

Message: The {partnerCode} store already sends its events to {webhookUrl}

ORGANIZATION_CANCELLED_NOT_SUSPENDABLE​

Cancelled organization not suspendable

A cancelled organization is already read-only, so it cannot be suspended. Reinstate it to ACTIVE first if access should change.

Message: A cancelled organization cannot be suspended; it is already read-only

ORGANIZATION_CODE_TAKEN​

Organization code taken

Another organization already uses this code; codes are unique regardless of case. Choose a different code.

Message: Organization with code {code} already exists

ORGANIZATION_DELETION_ALREADY_SCHEDULED​

Deletion already scheduled

A deletion is already scheduled; the organization's deletionScheduledDateTime says when.

Message: This organization is already scheduled for deletion.

ORGANIZATION_DELETION_CONTRACT_OUTSIDE_PLATFORM​

Contract managed outside the platform

The organization's agreements are managed outside the platform (a platform admin's agreement exemption), so its owner cannot delete it in the app.

Message: This organization's contract is managed by Loom Loyalty; contact your account team to close it.

ORGANIZATION_DELETION_DISABLED​

Organization deletion unavailable

Owner-initiated deletion and ownership transfer are switched off in this deployment (feature flag organization-deletion).

Message: Deleting an organization or transferring its ownership is not available yet.

ORGANIZATION_DELETION_IN_PROGRESS​

Deletion in progress

The scheduled deletion time has passed, so the purge may already be deleting data. The organization can be neither withdrawn from deletion nor reinstated.

Message: This organization's deletion is already under way and can no longer be stopped.

ORGANIZATION_DELETION_NOT_CANCELLED​

Organization not cancelled

Deletion can be requested only for a CANCELLED organization, which it becomes when its subscription ends.

Message: Cancel the subscription first. You can delete the organization once it is cancelled.

ORGANIZATION_DELETION_NOT_SCHEDULED​

Deletion not scheduled

There is no scheduled deletion to withdraw.

Message: This organization is not scheduled for deletion.

ORGANIZATION_ENVIRONMENT_CODE_TAKEN​

Environment code taken

The organization already has an environment with this code. Choose a different code or update the existing environment.

Message: Organization environment with code {code} already exists

ORGANIZATION_IMAGE_LIMIT_REACHED​

Image limit reached

Each organization can store a limited number of uploaded images. Delete images it no longer uses, or enter an image URL instead.

Message: The organization already stores {maxImages} uploaded images, the most allowed

ORGANIZATION_LIMIT_PER_USER_REACHED​

Organization already created

A self-serve user can create one organization. Use the organization you already created, or ask Loom Loyalty support to provision another.

Message: User has already created an organization: {organizationName}. Only one organization per user is allowed.

ORGANIZATION_MEMBER_ALREADY_ADMIN​

Already an admin

This person already holds the admin role in every environment of the organization, so nothing changed.

Message: {email} is already an admin of this organization in every environment

ORGANIZATION_NOT_PLATFORM_PROVISIONED​

Organization has no owner invitation

Owner invitations exist only for organizations a platform admin created for a customer. A self-serve organization's admins invite members themselves.

Message: Only an organization created in Platform Admin has an owner invitation

ORGANIZATION_OWNER_ALREADY_JOINED​

Owner already joined

Someone has already joined the organization, so its owner can no longer be changed from Platform Admin. The organization's own admins manage its members now.

Message: The owner has already joined, so the owner can no longer be changed here

ORGANIZATION_STATUS_CHANGES_DISABLED​

Status changes not enabled

Suspending, reinstating and cancelling organizations is switched off in this deployment. Try again once Loom Loyalty enables it.

Message: Organization status changes are not enabled yet

ORGANIZATION_STATUS_UNCHANGED​

Organization status unchanged

The organization already has the requested status, so there is nothing to change. Reload the organization to see its current status.

Message: Organization is already {status}

ORGANIZATION_WHITE_LABEL_BRAND_SLUG_LOCKED​

Brand slug locked

The slug names the hosts the brand's organizations sign in on, so it is fixed once an organization uses the brand. Keep the current slug, or create a new brand.

Message: The brand's slug cannot change while organizations use the brand

ORGANIZATION_WHITE_LABEL_BRAND_SLUG_TAKEN​

Brand slug taken

Another brand already uses this slug; slugs are unique regardless of case. Choose a different slug.

Message: Brand with slug {slug} already exists

PACKAGE_DATA_MODELS_CHANGED​

Data models changed during install

The organization's data models changed between planning and applying the install, so the package is only partly installed. Run a dry run to see the conflicts, resolve them, and install again.

Message: Package {packageCode} data models changed while it was being installed; the installation is partial

PACKAGE_INDUSTRY_UNINSTALL_NOT_ALLOWED​

Industry package cannot be uninstalled

Industry packages are part of the organization's setup and stay installed. Only partner packages can be uninstalled.

Message: Package {packageCode} is an industry package; industry packages cannot be uninstalled

PACKAGE_OWNED_RECORD​

Owned by a package

An installed industry or partner package owns this record, so only that package can change or delete it. Create your own record instead, or change it through the package.

Message: {resource} {code} is owned by package {packageCode} and cannot be changed or deleted outside that package

PACKAGE_TENANT_CODE_RESERVED​

Manifest code reserved

A tenant manifest cannot use the code of a package in the Loom Loyalty catalog. Change the manifest's code.

Message: Manifest code {packageCode} is the code of a catalog package; give the manifest another code

PROGRAM_LEDGER_ALREADY_EXISTS​

Ledger already exists

The program already has a ledger for this currency. Use the existing ledger.

Message: Ledger already exists for program and currency

PROGRAM_LEDGER_ALREADY_REVERSED​

Ledger entries already reversed

The event's ledger entries were reversed before, and a reversal is applied only once. Nothing more needs to be done.

Message: Program ledger entries for event ID {originalEventId} have already been reversed

PROGRAM_LEDGER_LIABILITY_REPORT_STATEMENTS_PENDING​

Liability statements not generated yet

The liability report reads the program liability account's daily statements, which the daily run writes shortly after midnight UTC. Ask for an earlier periodEnd, or try again after the run.

Message: Statements for program ledger {programLedgerId} are not yet generated through {periodEnd}

PROGRAM_LEDGER_REVERSAL_NOT_REVERSIBLE​

A reversal cannot be reversed

These ledger entries undo an earlier event, so reversing them would hand the currency back with nothing behind it. To restore what was reversed, record the event again.

Message: Ledger entries for event ID {originalEventId} are a reversal and cannot themselves be reversed

PROGRAM_TEMPLATE_SYSTEM_TEMPLATE_READ_ONLY​

System template is read-only

System templates ship with Loom Loyalty and cannot be changed or deleted. Create your own template from its data instead.

Message: Cannot {operation} a system template

RECIPE_CODE_EXISTS​

Recipe code already used

Each of the organization's own recipes has its own code. Update the existing recipe, or pick another code.

Message: The organization already has a recipe with code {code}

REFERENCES_EXIST​

Resource in use

Other resources still refer to this one. Remove those references first; the message lists them.

Message: The resource is still in use and cannot be deleted.

REWARDS_PORTAL_CONFIG_EXISTS​

Portal config already exists

Each organization environment has one rewards portal configuration, and this one already has it. Update the existing configuration instead.

Message: A portal configuration already exists for this organization

REWARDS_PORTAL_HOSTNAME_TAKEN​

Portal hostname taken

Another rewards portal already reserves this hostname. Choose a different custom domain, or remove it from the other portal first.

Message: Hostname is already in use

REWARDS_PORTAL_SMS_SUPPORT_CONTACT_REQUIRED​

Support contact required for texts

Carriers require the reply to HELP to say how to reach the brand, so a program with a texting number keeps both a support email and a support phone on its published portal. Change a contact to another value instead, or ask Loom Loyalty support to remove the texting number first.

Message: {field} can't be removed while the program texts members

ROLE_CODE_RESERVED​

Role code reserved

This role code belongs to a role the platform creates and manages. Choose another code.

Message: Role code '{code}' is reserved for a role the platform manages

ROLE_SCOPE_ALREADY_ASSIGNED​

Scope already on role

The role already grants this scope, so there is nothing to add. Read the role to see its scopes.

Message: Role already has this scope assigned

RULE_ACTION_GROUP_RECIPIENT_UNMATCHED​

Group recipient missing from the update

The saved issue points action at this position pays the member's customer group, but the update changes it and sends no recipient. Send the recipient with the action (MEMBER_GROUP to keep paying the group, or MEMBER to pay the member), so a group payout never turns into a member payout without anyone choosing it.

Message: Action {position} pays the member's customer group, and the update changes it without saying who it pays

SMS_PHONE_NUMBER_TAKEN​

Phone number in use

A number can send for one connection only, across every organization. Detach it from the other connection first, or attach a different number.

Message: The phone number '{phoneNumber}' already belongs to another connection

SMS_SUPPORT_CONTACT_REQUIRED​

Support email and phone required

Carriers require the reply to HELP to say how to reach the brand, so a number can't send until the brand's rewards portal is published with a support email and a support phone. Add both under Policies & Support, publish the portal, then attach the number again.

Message: The brand has no published {missing} yet

STRIPE_BILLING_SETUP_NOT_REQUIRED​

Billing setup not required

The organization already has billing set up, or its plan needs none. Check the billing setup status before starting checkout.

Message: Billing setup is not required for this organization

STRIPE_BILLING_STAFF_MANAGED​

Billing managed by Loom Loyalty

Loom Loyalty staff manage this organization's subscription, so it cannot be cancelled or resumed in the app. Contact support to change it.

Message: This organization's subscription is managed by Loom Loyalty; contact support to change or cancel it

STRIPE_REWARDS_PORTAL_ADD_ON_ALREADY_ACTIVE​

Rewards portal add-on already active

The organization already pays for the rewards portal add-on. Use the add-on's cancel flow to manage it.

Message: Organization already has an active rewards portal add-on purchase; use cancel to manage it

STRIPE_SUBSCRIPTION_ALREADY_ENDED​

Subscription already ended

The subscription has already ended, so it cannot be cancelled again. Start a new subscription from the billing page if needed.

Message: The subscription has already ended

STRIPE_SUBSCRIPTION_ALREADY_SET_TO_CANCEL​

Subscription already set to cancel

A cancellation is already scheduled for the end of the billing period. Withdraw it first to change it.

Message: The subscription is already set to cancel

STRIPE_SUBSCRIPTION_ENDED_NOT_RESUMABLE​

Ended subscription can't be resumed

The subscription has already ended, so its cancellation cannot be withdrawn. Start a new subscription from the billing page.

Message: The subscription has already ended and cannot be resumed

STRIPE_SUBSCRIPTION_NOT_CANCELLABLE​

Subscription can't be cancelled here

Only an active or trialing subscription can be cancelled in the app. Manage this subscription in the Stripe billing portal.

Message: A {status} subscription cannot be cancelled here; manage it in the billing portal

STRIPE_SUBSCRIPTION_NOT_SET_TO_CANCEL​

Subscription not set to cancel

There is no scheduled cancellation to withdraw. Reload the billing details to see the subscription's current state.

Message: The subscription is not set to cancel

STRIPE_SUBSCRIPTION_STILL_SET_TO_CANCEL​

Subscription still set to cancel

Another cancellation was scheduled while this one was being withdrawn. Reload the billing details and try again, or manage the subscription in the billing portal.

Message: Stripe still reports the subscription as set to cancel; reload the billing details and try again, or manage it in the billing portal

TENANT_EXPORT_ALREADY_ACTIVE​

Export already active

Only one export of an organization can be queued or running at a time. Wait for it to finish.

Message: An export of this organization is already queued or running.

TENANT_EXPORT_NO_PRODUCTION_ENVIRONMENT​

No production environment

A whole-tenant export covers the organization's PRODUCTION environment, and it has none.

Message: This organization has no production environment to export.

TENANT_EXPORT_NOT_DELIVERED​

Export not delivered

A download link can be sent only for a DELIVERED run whose archive has not expired.

Message: This export has no archive to send a link to.

TENANT_EXPORT_ORGANIZATION_NOT_DELETING​

Organization not being deleted

A whole-tenant export is sent to an organization's owner only after they request its deletion, which ends every member's access.

Message: This organization's deletion has not been requested, so its data cannot be exported.

TENANT_EXPORT_ORGANIZATION_PURGING​

Organization being purged

The organization's scheduled deletion time has passed and the purge may already be deleting its data, so no export can start or be sent.

Message: This organization's data is being deleted, so it can no longer be exported.

UNPROCESSED_EVENT_DATA_MISSING​

Event data missing

The event's original data was not kept, so it cannot be run again. Resend it from the source system.

Message: Event {eventId} has no stored data to retry

UNPROCESSED_EVENT_NAMES_NO_ONE​

Event names no one

The event has no email, phone number, identifier or name left to match a member by: it was sent without one, or the member it named was erased. Retry it with a chosen member, or dismiss it.

Message: Event {eventId} names no one, so it cannot be matched again

UNPROCESSED_EVENT_NOT_OPEN​

Unprocessed event not open

The event was already processed or dismissed, so there is nothing to retry or dismiss.

Message: Event {eventId} is not open

UNPROCESSED_EVENT_NOT_RETRYABLE​

Event not retryable

A redemption the member made in the rewards portal is settled by that attempt, so running it again could spend points the member did not choose to spend twice. Ask the member to redeem again, or dismiss the event.

Message: Event {eventId} is a member's own portal redemption and cannot be retried by staff

WEBHOOK_ENDPOINT_DISABLED​

Webhook endpoint disabled

Nothing is sent to a disabled endpoint, so it cannot get a resend, a test message or, when you disabled it yourself, a recovery. Enable it with an update first. An endpoint Loom Loyalty disabled is re-enabled by a recovery.

Message: Webhook endpoint '{endpointId}' is disabled

WEBHOOK_ENDPOINT_HAS_NO_SIGNING_SECRET​

No signing secret

This endpoint sends with the API key you gave it, which is never shown, so it has no signing secret to read or rotate. Replace the key with an update that carries credential.

Message: Webhook endpoint {webhookEndpointLinkId} sends with its destination's key and has no signing secret

WEBHOOK_INGEST_SECRET_NOT_ROTATABLE​

Signing secret not rotatable

This ingest source checks the sender's own signature with the secret the sender issued, so Loom Loyalty cannot rotate it. Rotate the secret with the sender, then connect the source again.

Message: The signing secret of a {sourceType} ingest source belongs to the sender and cannot be rotated here

WEBHOOK_MESSAGE_PAYLOAD_NOT_KEPT​

Webhook message payload not kept

A webhook message's payload is kept for 30 days, and one over the size limit is recorded as failed without it, so there is nothing to resend. Resend within 30 days; for an oversized message, reduce what the event carries so later messages fit.

Message: Webhook message '{messageId}' has no payload kept, so it cannot be resent

WORKOS_OWNER_INVITATION_ALREADY_ACCEPTED​

Owner invitation already accepted

The organization's current owner has already joined, so the invitation cannot be sent to someone else. Resend it to the current owner, or change the owner from inside the organization.

Message: The current owner has already accepted the invitation, so it can only be resent

410 Gone​

CUSTOMER_MEMBER_CODE_EXPIRED​

Member code expired

This Rewards Portal code is past its lifetime, which usually means a screenshot. Ask the member to open the portal for a fresh code, or scan their wallet pass.

Message: Member code expired at {expiresDateTime}

Download link gone

The emailed link's token is unknown, was replaced by a newer link, or its archive has expired.

Message: This download link has expired or been replaced. Ask Loom Loyalty support to send a new one.

413 Content Too Large​

PAYLOAD_TOO_LARGE​

Payload too large

The body is over this route's size limit or has no Content-Length. Send a smaller body.

Message: The request body is too large.

415 Unsupported Media Type​

UNSUPPORTED_MEDIA_TYPE​

Unsupported media type

The Content-Type header names a type this endpoint does not read. Send application/json.

Message: The request body's media type is not supported.

422 Unprocessable Content​

CUSTOMER_AUDIENCE_COMPOSITE_TOO_MANY_MEMBERS​

Composite segment too large

The composite segment would have more members than Loom Loyalty can compute. Narrow the component segments' expressions.

Message: Composite segment exceeds maximum of {maxMembers} members. Consider narrowing the component segment expressions.

CUSTOMER_AUDIENCE_COMPOSITE_TOO_MANY_REFERENCES​

Too many component segments

The composite segment lists more component segments than Loom Loyalty can combine. Remove some components from composedOf.

Message: Composite segment exceeds maximum of {maxReferences} component references

ENVIRONMENT_WORKFLOW_CANNOT_FINISH​

Workflow has no one to approve it

Every step of an environment workflow needs someone who can approve it: a role step needs a role of this organization, a user step needs a user of it, and the workflow needs at least one step. Add an approver to the workflow's steps (for example the org-admin role), then send the request again.

Message: Environment workflow '{workflowName}' can never finish: {reason}

EVENT_CUSTOMER_NOT_FOUND​

No customer matched

Nothing was recorded, because no customer matches the event's target and its event type does not save unprocessed events. Create the customer or fix the target, then send the event again, or turn on saving unprocessed events for the event type to park such events for review.

Message: No customer matches the event's target, so event {eventId} was not recorded

MESSAGING_CONNECTION_VERIFICATION_FAILED​

Messaging connection check failed

Loom Loyalty could not use the brand's sender. The connection now reads ERROR with the failed step and reason. Fix the role, its trust policy (our principal and this connection's external ID) or the SES identity, then check again.

Message: Messaging connection check failed at {failedStep}: {reason}

OFFER_PARTNER_CATALOG_CHANGE_STATUS_INVALID​

Catalog change status not allowed

Answer a pending change with ACCEPTED to apply it to the offer or DISMISSED to keep the offer as it is.

Message: A catalog change can be set to ACCEPTED or DISMISSED, not {status}

OFFER_PARTNER_CONNECTION_NOT_ALLOWED​

Connection not allowed for this environment

PRODUCTION environments order through the LIVE connection and every other environment through SANDBOX, so a test environment never spends from the live account. Choose the connection that matches the environment.

Message: A {environmentType} environment cannot enroll with the {connectionType} connection

OFFER_PARTNER_CONNECTION_NOT_AVAILABLE​

Connection not available

Enrolling with your own partner credential is not available yet. Choose the LIVE connection for a PRODUCTION environment or SANDBOX for any other.

Message: The {connectionType} connection is not available yet

OFFER_PARTNER_DENOMINATION_INVALID​

Denomination not offered

The partner does not sell this item at this face value, because it is out of range or off the item's step. Choose a denomination the item's catalog entry allows.

Message: The {partnerCode} item '{partnerItemId}' cannot be ordered at {denomination}

OFFER_PARTNER_KEY_INVALID​

Partner API key not accepted

The partner refused the API key saved for this brand, so nothing can be synced or ordered through it. Create a new key in the partner's dashboard and save it in the integration's settings.

Message: {partnerCode} did not accept the brand's API key

Face values don't fit the item

A merch item ships the variant the member picks, so its link takes no face values. A gift card is ordered at a face value, so its link needs at least one.

Message: The {partnerCode} item '{partnerItemId}' takes {expected}

Offer link status not allowed

Import a link as ACTIVE to offer it now or PAUSED to offer it later.

Message: An offer link cannot be imported as {status}

OFFER_PARTNER_ONE_ORDER_PER_REDEMPTION​

One partner order per redemption

A redemption that ships a reward may open no other partner order, so cancelling it gives back exactly one. Redeem each reward on its own.

Message: Partner reward offer '{offerId}' would be a second partner order in one redemption

OFFER_PARTNER_ORDER_DETAILS_REQUIRED​

Order details missing

A shipped reward needs the member's variant and US address, saved for the redemption's own redemptionReference before it is redeemed. Nothing was ordered and no points were spent.

Message: Partner reward offer '{offerId}' ships, so its redemption needs saved order details

OFFER_PARTNER_ORDER_STATUS_INVALID​

Order status not allowed

Staff answer a draft with CONFIRMED, which ships it, or REJECTED, which deletes it.

Message: Order status '{status}' cannot be set; send CONFIRMED or REJECTED

OFFER_PARTNER_REWARD_DENOMINATION_REQUIRED​

Partner reward denomination missing

The redemption rule that issues a partner reward must name the face value to order in its partnerDenomination property, such as 25.

Message: Issuing partner reward offer '{offerId}' needs a partnerDenomination property

OFFER_PARTNER_SHIPPED_REWARD_ALONE​

A shipped reward is redeemed on its own

A redemption that ships a reward may issue no other reward, so a reward that won't ship gives back only its points. Nothing was ordered and no points were spent. Redeem each reward on its own.

Message: Partner reward offer '{offerId}' ships, and this redemption issues another reward beside it

OFFER_PARTNER_SHIPPING_UNSUPPORTED​

Address not supported

Shipped rewards go only to US addresses today. Nothing was ordered and no points were spent.

Message: Partner rewards do not ship to country '{countryCode}'

OFFER_PARTNER_STORE_REQUIRED​

Partner store not named

The API key reaches more than one store, or not the one named. Set the store ID in the integration's settings to one of the stores the key reaches.

Message: The {partnerCode} key reaches the stores {storeIds}; name one of them as the store ID

OFFER_PARTNER_VARIANT_UNAVAILABLE​

Variant unavailable

The chosen variant is out of stock, past its end date, or not one of this reward's own, so nothing was ordered and no points were spent. Choose another variant.

Message: Variant '{variantId}' of partner reward offer '{offerId}' is not available

OFFER_PARTNER_WALLET_ADJUSTMENT_INVALID​

Adjustment amount invalid

Give a positive amount to add to the wallet or a negative one to take from it.

Message: A wallet adjustment cannot be zero

TENANT_EXPORT_RECIPIENT_REQUIRED​

Recipient required

The download link goes to the user who requested the organization's deletion. That user has no active login, so the request must name the address to send it to.

Message: Nobody to email the download link to. Give a recipientEmailAddress.

WEBHOOK_CONNECTOR_NOT_AVAILABLE​

Connector not available

Connectors are not available on this deployment yet. Create the endpoint without a connectorKind and handle the payload in your receiver.

Message: Connector {connectorKind} is not available for this endpoint

WEBHOOK_DELIVERY_URL_NOT_ALLOWED​

Webhook URL not allowed

Webhook URLs must be well-formed, use https, and point to a public host rather than a private or local address. Use a public https URL.

Message: Webhook URL is not allowed: {reason}

WEBHOOK_KLAVIYO_KEY_REJECTED​

Klaviyo key rejected

Klaviyo did not accept this private API key, so nothing was saved. Create a private key in Klaviyo with read access to accounts and write access to events and profiles, and try again.

Message: Klaviyo rejected the API key

WEBHOOK_TEST_MESSAGE_TOO_LARGE​

Webhook test message too large

The example built from this event type's data model is larger than a webhook message may be, so it is not sent. Shorten the data model's example for this event type and try again.

Message: Webhook test message for '{eventType}' is {sizeBytes} bytes, over the {maxBytes}-byte limit

429 Too Many Requests​

CUSTOMER_DATA_EXPORT_LIMIT_REACHED​

Data export limit reached

A customer's data can be exported once every 30 days. A FAILED export doesn't count. Download the recent export while it is DELIVERED, or request another from nextExportDateTime.

Message: This customer's data was already exported in the last 30 days; the next export can be requested from {nextExportDateTime}.

CUSTOMER_PORTAL_EMAIL_CODE_LIMIT_REACHED​

Too many email codes

Recovery email codes are capped per member, per address, per portal and across Loom Loyalty to stop email abuse. Wait and ask again later.

Message: Too many email codes have been sent; try again later

CUSTOMER_PORTAL_EMAIL_SIGN_IN_CODE_LIMIT_REACHED​

Too many sign-in codes

Rewards portal sign-in and account-deletion codes are capped per address across every portal, per portal and across Loom Loyalty to stop email abuse. Wait and ask again later.

Message: Too many sign-in codes have been emailed; try again later

CUSTOMER_PORTAL_SMS_LIMIT_REACHED​

Too many login codes

Login codes are capped per phone number, per portal and across Loom Loyalty to stop SMS abuse. Wait and ask again later, or sign in with email.

Message: Too many login codes have been sent; try again later

OFFER_PARTNER_RATE_LIMITED​

Partner rate limit reached

Too many calls went to the partner in a short time, so this one was not sent. Try again after the given number of seconds.

Message: Calls to {partnerCode} are rate limited; try again in {retryAfterSeconds} seconds

RATE_LIMITED​

Rate limited

The caller sent more requests than its plan allows. Wait for the Retry-After seconds, then retry.

Message: Rate limit exceeded. Retry after the number of seconds in the Retry-After header.

500 Internal Server Error​

ANALYTICS_TOKEN_UNAVAILABLE​

Analytics token unavailable

Loom Loyalty could not issue an analytics token. Retry in a moment; if it keeps failing, contact support.

Message: Analytics service temporarily unavailable

DELEGATED_TOKEN_MINT_FAILED​

Delegated token not issued

Loom Loyalty could not sign the delegated token. Try again; contact support if it keeps failing.

Message: Failed to mint delegated token

INTERNAL_ERROR​

Internal error

Loom Loyalty failed to handle the request. Retry it; if it keeps failing, contact support with the requestId from the response.

Message: An unexpected error occurred. Contact support with the request id if it continues.

502 Bad Gateway​

CLOUDFLARE_CUSTOM_DOMAIN_ADD_FAILED​

Custom domain not added

Cloudflare did not add the custom domain to the hub's site. Retry; the domain stays verified, so publishing it again sets it up.

Message: Failed to add custom domain {domainName}

CLOUDFLARE_CUSTOM_DOMAIN_REMOVE_FAILED​

Custom domain not removed

Cloudflare did not remove the custom domain from the hub's site. Retry the removal later.

Message: Failed to remove custom domain {domainName}

DEVICE_CLAIM_VALIDATION_UNAVAILABLE​

Device claim validation unavailable

Loom Loyalty could not check the confirmation code with the device service. The device stays unclaimed; try again in a moment.

Message: Device claim validation is temporarily unavailable; try again

EVENT_RULE_BACKTEST_ANALYTICS_UNAVAILABLE​

Analytics unavailable

The analytics service failed to run the backtest query. Try again in a few minutes.

Message: Analytics is unavailable, so the backtest couldn't run.

EVENT_RULE_BACKTEST_NO_RESULT​

Backtest returned nothing

Analytics answered the backtest query without a result. Try again; if it keeps happening, contact Loom Loyalty support.

Message: The backtest query returned no result.

METRICS_QUERY_FAILED​

Metrics query failed

The metrics store returned an error or timed out. Retry the query; if it keeps failing, narrow the time range or raise the step.

Message: The metrics query failed. Retry it, or narrow the time range.

OFFER_PARTNER_REJECTED​

Partner rejected the call

The partner refused the call for a reason Loom Loyalty does not recognize, such as rejected credentials. Contact support with the time of the call.

Message: {partnerCode} rejected the {operation} call with status {status}

UPSTREAM_FAILED​

Upstream failure

A provider Loom Loyalty calls returned an error or timed out. Retry the request later.

Message: A service Loom Loyalty depends on failed. Retry the request.

WORKOS_NO_RESPONSE​

Identity provider returned nothing

WorkOS, the identity provider Loom Loyalty signs users in with, answered with an empty response. Try again shortly; contact support if it keeps happening.

Message: No response received from WorkOS API

503 Service Unavailable​

AWS_MARKETPLACE_NOT_CONFIGURED​

AWS Marketplace sign-up unavailable

This deployment does not take AWS Marketplace sign-ups. Contact support.

Message: AWS Marketplace sign-up is not available

CUSTOMER_AUDIENCE_COMPUTATION_UNAVAILABLE​

Segment computation not available

This Loom Loyalty deployment has no analytics connection, or segment computation is switched off. Try again later, or contact Loom Loyalty support.

Message: Segment computation requires analytics connectivity and computation to be enabled.

CUSTOMER_AUDIENCE_COMPUTE_BUSY​

Segment computation busy

Loom Loyalty is already computing as many segments as it can at once. Try again in a few moments.

Message: Too many concurrent segment computations. Please try again later.

CUSTOMER_AUDIENCE_MEMBERSHIP_QUERY_UNAVAILABLE​

Membership queries not available

This Loom Loyalty deployment has no analytics connection for segment membership queries. Try again later, or contact Loom Loyalty support.

Message: Membership query requires analytics connectivity.

CUSTOMER_AUDIENCE_PREVIEW_UNAVAILABLE​

Segment preview not available

This Loom Loyalty deployment has no analytics connection for segment previews. Try again later, or contact Loom Loyalty support.

Message: Segment preview requires analytics connectivity.

CUSTOMER_PORTAL_EMAIL_SIGN_IN_CODE_UNAVAILABLE​

Sign-in code unavailable

The sign-in provider did not make a code, so nothing was emailed and nothing was counted against the member. Try again shortly.

Message: The sign-in code could not be sent right now; try again

CUSTOMER_PORTAL_SMS_PROVIDER_UNAVAILABLE​

Login code check unavailable

The SMS provider did not answer the code check. The check was not counted against the member. Try again shortly.

Message: The login code could not be checked right now; try again

DELEGATED_TOKEN_CONNECT_UNAVAILABLE​

Connect token exchange unavailable

Loom Loyalty could not check the Connect token right now. Try again; contact support if it keeps failing.

Message: Connect token exchange is unavailable: {reason}

EVENT_RULE_BACKTEST_UNAVAILABLE​

Backtesting not available

This Loom Loyalty deployment has no analytics connection for backtests. Try again later, or contact Loom Loyalty support.

Message: Backtesting is not configured.

LOGIN_USER_INVITATIONS_UNAVAILABLE​

Invitations unavailable

This deployment has no sign-in provider to send invitations through.

Message: Team invitations are unavailable on this deployment

MESSAGING_CONNECTION_AWS_UNREACHABLE​

AWS unreachable

AWS did not answer the check. Nothing about the connection changed; try again shortly.

Message: Could not reach AWS to check messaging connection '{messagingConnectionId}'

OFFER_PARTNER_NOT_CONFIGURED​

Offer partner connection not configured

This deployment has no credentials for the partner connection, so nothing can be ordered or synced through it. Platform staff configure partner credentials; contact support if this persists.

Message: The {partnerCode} {connectionType} connection is not configured

OFFER_PARTNER_TOP_UP_UNAVAILABLE​

Top-ups unavailable

This deployment has no payment provider for wallet top-ups. Contact Loom Loyalty support.

Message: Wallet top-ups are not available on this deployment

OFFER_PARTNER_UNAVAILABLE​

Partner unavailable

The partner timed out, could not be reached or failed on its side, so the outcome of the call is unknown. Try again later; an order is reconciled by its reference before it is retried.

Message: {partnerCode} did not answer the {operation} call

ORGANIZATION_ADMINS_UNAVAILABLE​

Adding admins unavailable

This deployment cannot add organization admins because its sign-in provider is not connected. Retry later or contact Loom Loyalty support.

Message: Organization admins cannot be added on this deployment

ORGANIZATION_IMAGE_STORAGE_UNAVAILABLE​

Image uploads unavailable

This deployment has no image storage configured, so images cannot be uploaded. Enter an image URL instead, or check GET /organizations/{organizationId}/image-storage before offering an upload.

Message: Image uploads are not available

ORGANIZATION_OWNER_INVITATIONS_UNAVAILABLE​

Owner invitations unavailable

This deployment cannot send owner invitations because its sign-in provider is not connected. Retry later or contact Loom Loyalty support.

Message: Owner invitations are not available

ORGANIZATION_SIGNUP_USER_NOT_PROVISIONED​

Account setup in progress

The signed-in user's account is still being set up after sign-up. Retry in a few seconds.

Message: Cannot create organization: the authenticated user is not yet provisioned. Please retry once account setup completes.

SERVICE_OVERLOADED​

Service overloaded

Loom Loyalty is shedding load. Wait for the Retry-After seconds, then retry.

Message: The service is temporarily overloaded. Retry after the number of seconds in the Retry-After header.

SERVICE_UNAVAILABLE​

Service unavailable

A dependency is briefly unavailable. Retry after the Retry-After seconds when the header is present.

Message: The service is temporarily unavailable. Retry the request.

Link email not requested

Handing the link email to the notification service failed; the earlier link was already replaced.

Message: The download link email could not be requested. Try again shortly.

WEBHOOK_ENTITLEMENT_UNAVAILABLE​

Webhook entitlement unavailable

Loom Loyalty could not check whether the organization's plan includes webhooks. Retry the request in a moment.

Message: Webhook entitlement is temporarily unavailable. Retry the request.

WEBHOOK_KLAVIYO_UNAVAILABLE​

Klaviyo unavailable

Klaviyo did not answer the key check, so nothing was saved. The key was not judged. Retry later.

Message: Klaviyo could not be reached to check the API key

WEBHOOK_SIGNING_NOT_CONFIGURED​

Webhook signing not configured

This deployment has no key to encrypt webhook signing secrets with, so webhook endpoints cannot be created or rotated. Retry later; if it continues, contact support.

Message: Webhook signing keys are not configured on this deployment, so no endpoint secret can be stored

504 Gateway Timeout​

CUSTOMER_AUDIENCE_COMPUTE_TIMEOUT​

Segment computation timed out

Analytics took too long to compute the segment. Try again later; if it keeps happening, simplify the segment or contact Loom Loyalty support.

Message: Segment {segmentId} computation timed out after {timeoutSeconds}s