#aries_webhooks
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/1419835721925132348
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi @solemn plume thanks for waiting. Let me take a look
ok thanks.
Ok. the webhook event wasn't delivered to your webhook endpoint because your server responded 500 instead of 200
yes, that's what happen here
https://support.stripe.com/questions/webhooks-what-to-do-when-the-http-status-code-starts-with-a-four-(4xx)-or-five-(5xx) this guide will help you troubleshoot the 500 error in your server
but the issue cause only on charge refunded but the other event, it will successfully deliver to my endpoint
https://dashboard.stripe.com/test/events/evt_3SAJ91D2CzZDU24j1en3VI2S based on the response from your server, there's a read permission problem that caused a "Insert failed" .
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I'd recommend checking your webhook handler code for charge.refunded events
can i have the complete error message regarding on the event @echo flicker
so that i can debug on my end
You can see the full error message from your Dashboard by opening the URL that I shared earlier,
the response message we have here is only "object object", we can't identify what causing the issue to debug this. and we need this error message to identify the issue so that the webhook event will send to our salesforce platform
Hi @echo flicker, I'm working with @solemn plume with this issue. The server to which the webhook payload has been delivered is a Salesforce platform. We can only see the '[Object object]' error message that's why we can't investigate it on our side, and we need the full error message to fully understand what was happening. Is it possible to ask for the full error message?
That's a different event. Have you tried opening the URL that I shared before?
yup, this is the content of it, and we can't find what is causing the issue
Yes, and still the same error message '[Object object].
[{"errorCode":"APEX_ERROR","message":"System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “[PosiPay] Gateway Event - After Save” process failed. Give your Salesforce admin these details. An Apex error occurred: System.SecurityException: You do not have permission to READ the field PosiPay__StripeApiVersion__c on PosiPay__GatewayAccount__c\n Error ID: 1025950859-22290 (-1741830137)siPay__StripeApiVersion__c on PosiPay__GatewayAccount__c\n Error ID: 1025950859-22290 (-1741830137): []\n\n(PosiPay)"}]
This is the error that I saw from my end.
Thanks! I think that's all for now from our end. We will try to investigate it on our side.
I'll also send a feedback to the Dashboard team and ask them to present the full data in repsonse instead of [object Object]
thanks @echo flicker
Thank you! We really appreciate that.
Happy to help!