Skip to main content
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.

Shopify's cookie banner must be disabled.

Unsupported consent policy.


Was this section helpful?

•OBJECT

The errors encountered while performing mutations on consent policies.


Was this section helpful?