Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shoutout Create/Recieve - broadcaster_user_id not actually optional? #710

Closed
BarryCarlyon opened this issue Jan 20, 2023 · 2 comments
Closed
Labels
product: eventsub EventSub (Webhooks and WebSockets)

Comments

@BarryCarlyon
Copy link
Contributor

BarryCarlyon commented Jan 20, 2023

Brief description

The docs state that broadcaster_user_id is optional.

However the result is unknown validation error: Key: SubscriptionCondition.broadcaster_user_id' Error:Field validation for 'broadcaster_user_id' failed on the 'required' tag when omitting a caster ID

for both topics

How to reproduce

  • Attempt to create a Subscriptiont to shoutout create or receive with just a moderator_user_id
  • Recieved a HTTP 400 and the above error message

Additional context or questions

First Report: https://discuss.dev.twitch.tv/t/new-shoutouts-api-and-eventsub-subscription-types-are-now-in-open-beta/42906/3

@BarryCarlyon BarryCarlyon added the product: eventsub EventSub (Webhooks and WebSockets) label Jan 20, 2023
@BarryCarlyon BarryCarlyon changed the title Shoutout Create/Recieve - broadcaster_user_id Shoutout Create/Recieve - broadcaster_user_id not actually optional? Jan 20, 2023
@ecressey
Copy link

Thanks for reporting this. It's a documentation issue - both fields are required. We'll update the docs shortly.

@jbulava
Copy link
Member

jbulava commented Jan 20, 2023

Docs have been updated, thanks!

@jbulava jbulava closed this as completed Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: eventsub EventSub (Webhooks and WebSockets)
Projects
None yet
Development

No branches or pull requests

3 participants