I encountered a problem when creating a subscription.
I received the following error message:
{
“errors”: [
{
“code”: “BAD_REQUEST”,
“detail”: “Plan ‘2SSJLBHHIKY3RVEGFQN4CWSQ’ is not enabled”,
“category”: “INVALID_REQUEST_ERROR”
}
]
}
However, when I created a subscription plan variation, this ID was returned in the response. What could be the issue here?
{
“catalog_object”: {
“type”: “SUBSCRIPTION_PLAN_VARIATION”,
“id”: “2SSJLBHHIKY3RVEGFQN4CWSQ”,
“updated_at”: “2024-10-21T03:07:11.83Z”,
“created_at”: “2024-10-21T03:07:11.83Z”,
“version”: 1729480031830,
“is_deleted”: false,
“present_at_all_locations”: false,
“subscription_plan_variation_data”: {
“name”: “User Essential”,
“phases”: [
{
“uid”: “37BB7KIBUVAHER5YLFFPFWCZ”,
“cadence”: “MONTHLY”,
“ordinal”: 0,
“pricing”: {
“type”: “RELATIVE”
}
}
],
“subscription_plan_id”: “2W7NHBHV5NREKNXZCEINTVOD”
}
},
“id_mappings”: [
{
“client_object_id”: “#6458443”,
“object_id”: “2SSJLBHHIKY3RVEGFQN4CWSQ”
}
]
}