Guides › vMix

vMix "Server error: Initialization failed": stream key fix

Fix vMix "Server error: Initialization failed (2: Broadcast state is bad)" for Facebook, YouTube and RTMP: invalid or expired stream keys and events.

What it looks like in your log

[rtmp @ 01c2d3e4] Server error: Initialization failed (2: Broadcast state is bad)

What does "Server error: Initialization failed" mean in vMix?

The streaming provider rejected the connection: an invalid stream key, username or password, or a stream/event that has expired or already ended. "Broadcast state is bad" means the stream details are no longer valid.

How to fix it

  1. Create a new live event/stream on the platform.
  2. Copy the new stream key and server URL into vMix stream settings.
  3. For Facebook, set up the stream again from scratch in vMix settings.
  4. Make sure no other encoder is already using the same key.
  5. If it persists, contact the provider to confirm your account can go live.

Not sure this is your problem?

Upload your vMix streaming log and StreamRx will tell you exactly what is wrong in 60 seconds, free.

Diagnose my log

📬 The StreamRx newsletter

One short email with OBS fixes, settings for Twitch/YouTube/Kick, and new StreamRx features. Unsubscribe anytime with one click.

No spam. Every email has an unsubscribe link, or reply "unsubscribe" to [email protected].

Related guides