Skip to main content
Log inSign up
Anchor to ConsentPolicyErrorCode

ConsentPolicyErrorCode

enum

Possible error codes that can be returned by ConsentPolicyError.

Anchor to COUNTRY_CODE_REQUIREDCOUNTRY_CODE_REQUIRED
•

Country code is required.

Anchor to REGION_CODE_MUST_MATCH_COUNTRY_CODEREGION_CODE_MUST_MATCH_COUNTRY_CODE
•

Region code must match the country code.

Anchor to REGION_CODE_REQUIREDREGION_CODE_REQUIRED
•

Region code is required for countries with existing regional policies.

Anchor to SHOPIFY_COOKIE_BANNER_NOT_DISABLEDSHOPIFY_COOKIE_BANNER_NOT_DISABLED
•

Shopify's cookie banner must be disabled.

Anchor to UNSUPORTED_CONSENT_POLICYUNSUPORTED_CONSENT_POLICY
•

Unsupported consent policy.


Was this section helpful?


Was this section helpful?