#selby14 - resend webhook events

1 messages ยท Page 1 of 1 (latest)

twin shard
#

For more context: Is this for live mode subscription events or test mode ones?

ocean abyss
#

Live mode

twin shard
#

And when you say inactive, do you meant that it was inactive in your Stripe configuration or that your server was down for a bit while Stripe was trying to send evetnts

ocean abyss
#

inactive in our configuration

#

We deployed new code that switched to using Stripe Checkout, and did not realize it was set to inactive.

#

While testing I saw that I could resend webhooks from the developers section, but in that case the webhook endpoint in dev was active

twin shard
#

Gotcha. Checking in to how you can send these again.

#

I think the CLI should work and you could even specify the endpoint for it. Forget if there is a recommended way here

ocean abyss
#

That sounds promising. Thank you!

#

I got the following error. "error": {
"message": "The provided key 'rk_live_*********************************************************************************************RmGlHP' does not have the required permissions for this endpoint on account 'acct_1IYccoH5qrtPOTVq'. Having the 'rak_webhook_write' permission would allow this request to continue.",
"type": "invalid_request_error"
}

twin shard
#

Thanks for the update. Looking in to how to remediate that

ocean abyss
#

๐Ÿ‘

fallow siren
#

๐Ÿ‘‹ I'm also hopping in since @twin shard has to head out soon - can you tell me the exact CLI command you used?

ocean abyss
#

stripe events resend evt_1LD6eDH5qrtPOTVqZtqONIwg --webhook-endpoint=we_1JIdTuH5qrtPOTVqHArEyElx --live

fallow siren
#

Ah, I believe this is an issue we've seen before with live webhook endpoints - if you go into your dashboard and change the permissions on that restricted key from read -> write for "All webhook resources" then that should work

ocean abyss
#

Thanks again. I think I found a different way to go to accomplish this.