#shaya8089
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- shaya8089, 6 days ago, 7 messages
I tried the following:
stripe events resend evt_*** --stripe-account=acct_*** --webhook-endpoint=http://myendpoint
It's a webhook that is forwarded to localhost with stripe listen
What happens when tried the above command?
{
"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?",
"request_log_url": "https://dashboard.stripe.com/acct_1HOi0zBZ8ZBlypAn/test/logs/req_9P9PlkgtztdPlI?t=1701270387",
"type": "invalid_request_error"
}
}
Thanks for the error message, looking in to what you can do here.
Apologies for the delay, so it looks like the issue is that you are trying to pass a URL but that parameter is expecting the ID of an existing webhook endpoint (we_1234)
https://stripe.com/docs/cli/events/resend#events_resend-webhook-endpoint
So you should create a connect endpoint for that URL in the dashboard if you have not already and then pass that ID when making this request again with the CLI
Thanks for the reply,
Is it not possible to achieve with a local listener (set up with stripe listen as I mentioned earlier)?
Good question. Do you have other test mode endpoints that you don't want to send these events to?
If so you can just make that resend request without specifying an endpoint and that should get sent to the local listener properly
I can check in to how to specify the local listener only but if you don't have a reason to just specify that endpoint it may make more sense to just exclude the parameter