# Issue with subscription create API  Error: SUBSCRIPTION\_PLAN\_VARIATION

**URL:** <https://developer.squareup.com/forums/t/issue-with-subscription-create-api-error-subscription-plan-variation/10941>\
**Category:** Questions\
**Tags:** subscriptions-api\
**Created:** [October 6, 2023, 1:33am UTC](https://developer.squareup.com/forums/t/issue-with-subscription-create-api-error-subscription-plan-variation/10941 "2023-10-06T01:33:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![megafix](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@megafix](https://developer.squareup.com/forums/u/megafix)\
**Post date:** [October 6, 2023, 1:33am UTC](https://developer.squareup.com/forums/t/issue-with-subscription-create-api-error-subscription-plan-variation/10941/1 "2023-10-06T01:33:13Z")

</div>

Hello, i got an issue creating a subscription with an API request, I get an error 400 That my subscription does not have type SUBSCRIPTION \_PLAN\_VARIATION,

I think the problem its when i create a subscription plan on my developer dashboard, its a little bit confused about how subscriptions setup, i create a subscription where i choose frequency, and after that, i need to create an item with the price and attach it to a subscription.

On the [square documentation](https://squareup.com/help/gb/en/article/7627-get-started-with-subscriptions-in-dashboard) the creation of the subscription plan was slightly different and have much sense how it was created, where i can choose the trial period, price and frequency…  
but now its different i even dont know where to add the trial period…

i missing something? please help me understand what its wrong here

please find attached the screenshot of the subscription plan creation + API request with error

Thank you in advice  
Best Regards

 ![2a1e2670657a9a2899dd2db95586d4c0986cdd3a_2_1035x460](https://global.discourse-cdn.com/square/original/2X/0/03dfd28555186b00f44acb245ba62f2b2692eaa6.png)  
 ![55af3a97e5bfbf711ea0c024850a165b72e330db_2_1035x463](https://global.discourse-cdn.com/square/original/2X/a/a6b3d730b38a08aa37627d757c23058388756c8b.png)  
 ![c1f6776e0a894a11aa9cd2267f9411633d9bd05f_2_1035x517](https://global.discourse-cdn.com/square/original/2X/0/073f6fdf55c6661d33bdf917928947f9c67d9b87.png)

---

<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:** [October 6, 2023, 4:53pm UTC](https://developer.squareup.com/forums/t/issue-with-subscription-create-api-error-subscription-plan-variation/10941/2 "2023-10-06T16:53:09Z")

</div>

Recent changes were made to the subscriptions in version `2023-06-08`. The old model changed to the new item based model. Also at this time if your creating subscriptions from the Dashboard you aren’t able to include a free trial. Only subscriptions created with the API can have a free trial. 🙂

---

<div class="post-metadata">

**Author:** ![filio-company](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@filio-company](https://developer.squareup.com/forums/u/filio-company)\
**Post date:** [April 8, 2025, 2:42am UTC](https://developer.squareup.com/forums/t/issue-with-subscription-create-api-error-subscription-plan-variation/10941/4 "2025-04-08T02:42:32Z")

</div>

Your response does not answer the question. I am getting the same error; I created the items and plans on the sandbox dashboard, but when I create the subscription using the SDK, and get the same error. On the website dashboard, there is no option to add\create the variational plan; how can I solve this on the dashboard?

---

<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:** [April 8, 2025, 3:51pm UTC](https://developer.squareup.com/forums/t/issue-with-subscription-create-api-error-subscription-plan-variation/10941/5 "2025-04-08T15:51:58Z")

</div>

If your using the SDK is there a reason your not using that to create the [plan variation](https://developer.squareup.com/docs/subscriptions-api/plans-and-variations#plan-variations)? Also what are the steps to reproduce the error? 🙂
