#ignasi_api

1 messages ยท Page 1 of 1 (latest)

half parrotBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1458425668219175079

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

final heron
#

hey there ๐Ÿ‘‹ the problem is as described in the error message - looking at your API request, you passed the following:

product_data: {
name: " ",
}

this parameter cannot accept an empty string, which is what's causing the error

#

I'd recommend reviewing your code for the Create Checkout Session API call, and confirming how you're setting the value for line_items.price_data.product_data.name

summer lagoon
#

Could you check how this sessionId was created? cs_test_a1aQ7G5RYzlMZ86nJeKBKwqny9auPvGCSlABeKXcthdQG850UZQp9OvZNa

final heron
half parrotBOT