Description
The SDK named a consent text that Astrada has not registered. 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 that is not registered.",
"title": "Consent record invalid",
"type": "https://docs.astrada.co/reference/errors-consent_text_unknown",
"errorCode": "card_subscription.consent_text_unknown"
}For a customer terms text (customerTermsVersionId), detail is "consent.customerTermsVersionId names a customer terms text that is not registered."
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.
