API error with FlutterFlow
I have a WorFlow (“Stripe Payment Checkout Link Creator”) that works manually in BuildShip 2.0. The input is in the format:
[{
"price": (x) Price ID,
"quantity": (x) Quantity
}]
In FlutterFlow I call the API with the following JSON file:
{
"PriceID": "<varpriceId>",
"Quantity": <varquantity>
}
I've tried other variations:
{
"PriceId": "<varpriceId>",
"quantity": <varquantity>
}
{
"Price ID": "<varpriceId>",
"Quantity": <varquantity>
}
It's always a mistake:
"type": "StripeInvalidRequestError",
"raw": {
"message": "The
Has anyone experienced this problem and been able to solve it? Could you post the solution here?
Thank you.
[{
"price": (x) Price ID,
"quantity": (x) Quantity
}]
In FlutterFlow I call the API with the following JSON file:
{
"PriceID": "<varpriceId>",
"Quantity": <varquantity>
}
I've tried other variations:
{
"PriceId": "<varpriceId>",
"quantity": <varquantity>
}
{
"Price ID": "<varpriceId>",
"Quantity": <varquantity>
}
It's always a mistake:
"type": "StripeInvalidRequestError",
"raw": {
"message": "The
line_items parameter...Has anyone experienced this problem and been able to solve it? Could you post the solution here?
Thank you.
Solution
I did it simply by recreating a new, similar workflow. I conclude that I made a mistake in changing the original template.
