Consent requirement cannot be granted before consent period starts

Occurs when an attempt to grant a subscription consent requirement is made before the consent period starts.

Error MessageSubscription consent requirement cannot be granted before `consent_period.starts_at`.
Error Codesubscription_consent_granted_too_early
Status Code400

Common causes

  • You're trying to grant consent for a subscription before the consent period has started.

  • The system prevents early consent grants to ensure customers have appropriate time to review subscription terms before renewal.

Solutions

  • Wait until after the consent_period.starts_at timestamp before attempting to grant consent.

  • Check the subscription consent requirement's consent_period.starts_at property to determine when consent can be granted.