# 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.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "subscription_consent_granted_too_early",
    "detail": "Subscription consent requirement cannot be granted before `consent_period.starts_at`.",
    "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_consent_granted_too_early"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `subscription_consent_granted_too_early` |
| Error message | Subscription consent requirement cannot be granted before `consent_period.starts_at`. |

## 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.

## Common 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.
