# Creation of subscription

**URL:** <https://developer.squareup.com/forums/t/creation-of-subscription/19926>\
**Category:** Questions\
**Tags:** subscriptions-api\
**Created:** [December 3, 2024, 11:06pm UTC](https://developer.squareup.com/forums/t/creation-of-subscription/19926 "2024-12-03T23:06:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JLcorp](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@JLcorp](https://developer.squareup.com/forums/u/JLcorp)\
**Post date:** [December 3, 2024, 11:06pm UTC](https://developer.squareup.com/forums/t/creation-of-subscription/19926/1 "2024-12-03T23:06:43Z")

</div>

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”  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [December 3, 2024, 11:07pm UTC](https://developer.squareup.com/forums/t/creation-of-subscription/19926/2 "2024-12-03T23:07:05Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Subscription Plan Checkout](https://developer.squareup.com/docs/checkout-api/subscription-plan-checkout)**
>
> Learn how to create a quick pay checkout link for a subscription plan.

[https://developer.squareup.com/docs/app-marketplace/requirements/subscriptions-api](https://developer.squareup.com/docs/app-marketplace/requirements/subscriptions-api)

> **Additional Documentation**
>
> [Define Item Variations Using Options](https://developer.squareup.com/docs/catalog-api/item-options-migration)  
> [Troubleshoot the Payments API](https://developer.squareup.com/docs/payments-api/error-codes)  
> [Retrieve Catalog Objects](https://developer.squareup.com/docs/catalog-api/retrieve-catalog-objects)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [December 3, 2024, 11:17pm UTC](https://developer.squareup.com/forums/t/creation-of-subscription/19926/3 "2024-12-03T23:17:42Z")

</div>

What’s your application ID? 🙂
