#Hendie-resend-events
1 messages · Page 1 of 1 (latest)
Hi there 👋 as long as the event was sent less than 30 days ago, you should be able to resend it using the resend function in Stripe CLI:
https://stripe.com/docs/cli/events/resend
cool! thanks
Any time!
I get this (it was an event for a connected account)
stripe events resend evt_1KMjYjPmZWE4odKsnmsjuyCf --stripe-account acct_1I6jlzPmZWE4odKs
{
"error": {
"message": "You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead?",
"type": "invalid_request_error"
}
}
and we actually do have a connected account webhook for that event type. Please advise @orchid meadow ?
Hm, I'm not as familiar with using this for Connect events. Can you try setting the --account option as well and provide it with the same value as you're using for --stripe-account?
wow, needed a lot more, this worked:
stripe events resend evt_1KMjYjPmZWE4odKsnmsjuyCf --account=acct_1I6jlzPmZWE4odKs --api-key=sk_live_xxxxxxxxxx --webhook-endpoint=we_1IGJlmBb9dNaU75sJwmWkGyk
oh wow