Swap_plan error. "already pending"

I get an error when I do a Swap plan.
The subscription status is ACTIVE and no action is found.

square_version=‘2025-02-20’,
subscription_id f226fb7f-3eb1-4937-9b78-3cd9763a9f2e
“new_plan_variation_id”: “JF5GUYKKMRCZDV735CCH4R2R”

{“errors”: [{“code”: “BAD_REQUEST”,“detail”: “The subscription is already pending a plan change.”,“category”: “INVALID_REQUEST_ERROR”}]}

:waving_hand: 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:

Additional Documentation

Monitor Sold-out Item Variations or Modifiers
Troubleshoot the Payments API
Guidelines and Limitations

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.

This error occurs because there is already a pending plan change for the subscription. A subscription can only have one pending plan change at a time. You’ll need to wait until the current pending plan change is processed before you can initiate another plan change.

This answer was reviewed by @Bryan-Square.

Why can’t I find an action after doing a Retrieve subscription?

Also, is there a way to delete plan changes I have already made?

You’ll want to SearchSubscriptions and include actions to see all the actions associated to a subscription. :slight_smile: