#lisa_e
1 messages ยท Page 1 of 1 (latest)
would you mind sharing the request id that is throwing that error?
items[0][price]=price_1MP2pfFxD6J2yXIUbfhXyETG
this is the error message: The app returned "No such price: 'price_1MP2pfFxD6J2yXIUbfhXyETG\nprorate=false'".
But the price exists, I triple checked lol
oh I think I know the problem
there's a formatting issue in your API call where the price id is being concatenated with prorate false
price_1MP2pfFxD6J2yXIUbfhXyETG\nprorate=false'
So it should be true?
Same error message if i set it to true... The app returned "No such price: 'price_1MP2pfFxD6J2yXIUbfhXyETG\nprorate=true'"
no I mean the price id is only "price_1MP2pfFxD6J2yXIUbfhXyETG"
oh okay..
would you mind sharing the code snippet?
I removed the prorate part and now got this error: The app returned "invalid_request_error".
I'm using zapier, one sec, will share a loom...
do you see any request id? req_xxx
I don't see req_xxx...
will be with you shortly
Thanky you ๐
would you mind adding quotes before and after the price?
Let me try, 1 sec...
You mean after and before the new price id, right? So items[0][price]="price_1MP2pfFxD6J2yXIUbfhXyETG"
That worked thanks!
The zapier test was now successful, but the actual subscription in Stripe hasn't been updated...
It's still the old one, do you have any idea why that is?
Hey! Taking over for my colleague. Let me catch up.
Cool, thanks!
Just to make sure I understand the context of your last follow-up question, you updated a Subscription with a new price in "Zapier" but the action isn't taken into account?
Yes, correct.
Could you please share the subscriptionId and the requestId of the API that updates the Subscription Price?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
In the request, no body was sent,
https://dashboard.stripe.com/logs/req_2PXXbmxG9JwalK
You need to check your integration and make sure it sends the request body with the new price
"items": [
{
"price": "price_1MP2pfFxD6J2yXIUbfhXyETG"
}
]
this is m ybody with the new price id, is the format correct?
Am I missing anything?
The body looks ok. But your integration isn't sending any thing to Stripe API, try to log/debug your API calls and see why isn't sending any thing