On EventSub create if 409 return ID of the conflicting Subscription
Extend
{
"error": "Conflict",
"status": 409,
"message": "subscription already exists"
}
to
{
"error": "Conflict",
"status": 409,
"message": "subscription already exists",
"id": "id of the eventsub subscription that conflicts"
}
![](https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?size=40&default=https%3A%2F%2Fstatic-cdn.jtvnw.net%2Fjtv_user_pictures%2Ffc22a9e2-7bfa-43a0-94d3-04bb210cdcf6-profile_image-150x150.png)
-
yeoyck commented
Plaease we need this.
-
GoProSlowYo commented
I have the same use-case as Barry. Please return the ID of the conflicting subscription in the error response.
-
대혀니 commented
we need this.
-
GhostZero commented
As far as i know, you can create more than one subcription with the same version, type, condition. So the response should include an array of duplicates.
-
GhostZero commented
I also got into this experience, and as Barry already said, its complicated to maintain conflicting eventsubs.
-
BarryCarlyon commented
Usage scenarios
If I try to (re)create a subscription for say streams.online as it doesn't seem to be working.
And I get a 409
I then have to paginate "Get EventSub Subscriptions" to find the conflicting subscription, to check it's status.
And assuming that all 10k of my subscriptions are all streams.online I can't use the type filter.Sure I could make 5 calls to different status filters.
But it's still more than one simple call to "just delete the subscription by the confliciting ID"