#ignasi_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
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
Could you check how this sessionId was created? cs_test_a1aQ7G5RYzlMZ86nJeKBKwqny9auPvGCSlABeKXcthdQG850UZQp9OvZNa
sure! for that one, this is the log of the Create Checkout Session Call: https://dashboard.stripe.com/acct_1NsnARLOFmVUUygj/test/logs/req_zZqkFqcFMk2MaE
you can see that this has:
product_data: {
name: "d91b75a6-0299-419b-b74c-3f0db3a75a63",
},