#nukesforbreakfast_error
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/1437308928395444327
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
{
"ApiEndpoint": "https://api.stripe.com/v1/invoiceitems/",
"Method": "POST",
"Authentication": {
"ConnectionArn": "redacted"
},
"Headers": {
"content-type": "application/x-www-form-urlencoded",
"Stripe-Account": "acct_1SRnBlBgnounAZrB",
"Idempotency-Key": "e8a61661-861b-4669-b11b-dc12ccb10724-munipal.billing-and-payment-services.billing-apibe58f273-5619-a53c-043c-876e7f210dc3-CreateInvoiceItem"
},
"Transform": {
"RequestBodyEncoding": "URL_ENCODED"
},
"RequestBody": {
"customer": "cus_TOaMtF5wURW0bU",
"subscription": "sub_1SRnBpBgnounAZrBimve0vRS",
"amount": 38038,
"currency": "usd",
"description": "False alarm number 1",
"metadata": {
"alarm_id": "alarm_28736da9e53b4ed9b7b109e09fa3720a",
"alarm_system_id": "alarmsystem_SVXr9BQ27rfdbvHSgj74SJ4EIFi",
"alarm_user_id": "alarmuser_jMvznzpt4hFwpO9OIWOaChc6Oea",
"jurisdiction_id": "org_p47VS0cKnqnDwFZWWdsgALnEJpa"
},
"period": {
"start": 1762306905538,
"end": 1762308673382
}
}
}
last attempt that failed was at 2025-11-10T04:59:10.428Z
is there a way for you to see logs on your side that I can't see in my dashboard?
Hey! do give me some time to take a look at this!
Successful attempts with CURL:
- req_BB2xroPWLSXQd1
- req_tLHfh2iIOLcg9M
I see that req_tLHfh2iIOLcg9M was successful at 2025-11-10 05:08:19 UTC
And req_BB2xroPWLSXQd1 was successful at 2025-11-10 05:07:54 UTC
I dont see any attempt made at 2025-11-10T04:59:10.428Z, so there could be a chance where that request did not hit stripe's servers to begin with.
Do give me some more time to investigate this
is there some request validation layer that doesn't log requests if they're malformed?
We do log for 400 Bad request errors, which i see that one was fired at 2025-11-10 05:04:52
But you are saying that from your StepFunction request, it received a 404 error, am I right?
Could you provide a screenshot of that 404 error message?
Because there is no 404 error request that can be found from your dashboard
that's what it's telling me.
but it has a limitation where it doesn't show me the response body of a failed request.
before I engage AWS support, I wanted to gather as much ammunition as possible to help get them quickly looking at the right issue.
so if there are any logs available on the Stripe side it would be helpful.
I think I just figured it out.
is the URL supposed to have a trailing slash or not when creating the invoice item?
https://api.stripe.com/v1/invoiceitems/ or https://api.stripe.com/v1/invoiceitems?
if it's just the retrieval of the InvoiceItems, then no trailing dash is needed
Ifs it's to retrieve a specific Invoice item a trailing dash AND an ID is needed
for e.g.
https://api.stripe.com/v1/invoiceitems/ii_xxx
this is a POST to create a new invoice item
I'm doing a create request: https://docs.stripe.com/api/invoiceitems/create?api-version=2025-10-29.preview&rds=1&lang=curl
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.