#johnsummerlin_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1255221891296133285
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hello! Can you give me the request ID showing that error? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
This is what was returned, but I could not find it in the dashboard - > req_LT6RcJoOmkr44b
I can see the request now. I wasn't before b/c I was in test mode
Looking...
I see my issue now
The first issue is that you made the request to /v1/subscription_schedules/None which is not a valid path. You need to provide the ID of the Subscription Schedule you want to modify.
I need to call the Subscription object and not the SubscriptionSchedule object
The second issue is that, when updating a Subscription Schedule, there is no items parameter. The items are defined inside the phases: https://docs.stripe.com/api/subscription_schedules/update
The third issue is that you can't directly modify a Subscription currently controlled by a Subscription Schedule, you need to modify the Subscription Schedule's phases, or you need to release the Subscriptoin from the Subscription Schedule and then modify the Subscription.