Skip to Content
You are viewing a beta version of Clerk Docs
Visit the latest docs
Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.com

Entitlement errors

An index of Clerk errors related to entitlements.

FormInvalidEntitlementKey

Signifies an error when no domain with the given ID was found.

{ "shortMessage": "invalid key format", "longMessage": "<value> cannot be used as an entitlement key. An entitlement key should have the following format: <scope>:<feature> Both `scope` and `feature` should only contain alphanumeric characters without any spaces.", "code": "form_invalid_entitlement_key_code" }

EntitlementAlreadyAssociatedWithProduct

Signifies an error when the given entitlement is already associated with the product.

{ "shortMessage": "already associated", "longMessage": "The given entitlement is already associated with the product.", "code": "entitlement_already_associated_code" }

Last updated on February 22, 2024

What did you think of this content?

Clerk © 2024