The consent text is the wrong kind

Description

The SDK named a consent text of the wrong kind, for example terms where the network consent belongs. It comes back only while the subaccount's consent policy is enforce, and the card is not enrolled.

POST /card-subscriptions answers 400:

{
  "detail": "The consent names a consent text of the wrong kind.",
  "title": "Consent record invalid",
  "type": "https://docs.astrada.co/reference/errors-consent_text_kind_mismatch",
  "errorCode": "card_subscription.consent_text_kind_mismatch"
}

For a customer terms text (customerTermsVersionId), detail is "consent.customerTermsVersionId names a text that is not customer terms."

How to solve

This code comes only from Astrada's SDKs (the Unified Enrollment SDK and the Card Enrollment SDK), which send the consent record for you. It points to a setup problem on Astrada's side, and nothing in your integration fixes it. Contact Astrada with the errorCode and the time of the request.