This error means OBS reached the platform's server and the server refused the stream. In OBS's RTMP code, the connection opens first; this message appears only when the next step, starting the stream on that connection, fails. So when OBS could not access the stream key, your network got through. Look at the three things that have to match: the key, the server address and the service selected in Settings, Stream.
The full message, from OBS's English locale file, is: Could not access the specified channel or stream key, please double-check your stream key. If it is correct, there may be a problem connecting to the server. If OBS can't reach the server at all, you'll see Failed to connect to server instead; the failed to connect guide covers that. If OBS shows Starting the output failed, the encoder never started; see the output failed guide. Other errors are in the troubleshooting guides.
Why OBS could not access the stream key
Connecting happens in two steps in OBS's RTMP output. First it opens a connection to the server; if that fails, you get Failed to connect to server. Then it asks the server to accept a stream at the path and key you gave. If the server says no, you get this message.
So start with the pairing, not the network. The server is up and listening. It doesn't accept what you sent.
Confirm it in the log before changing anything
OBS writes the attempt to its log, and two lines tell you which failure you have. Open Help, Log Files, View Current Log right after the error. Look for Connecting to RTMP URL, followed by the server address OBS used.
A few lines later comes either Connection to ... successful or Connection to ... failed, with a number at the end. In OBS 33.0.1's source, failed: -3 is the code behind this message, the server refusing the stream. failed: -2 is the code behind Failed to connect to server, where the connection never opened. A -1 means the URL was empty or invalid.
The server address is printed in full in that line, so it's also the quickest way to catch a wrong one. If it shows a Twitch ingest while your key came from YouTube, you've found the problem without touching the key. The log doesn't print your stream key on that line. It's still worth reading a log yourself before you post it anywhere.
Check the key, server and service belong together
| Mismatch | How it happens | Fix |
|---|---|---|
| Old key | The key was reset or regenerated on the platform | Copy a fresh key from the platform and paste it into OBS |
| Key from another platform | A YouTube key pasted while Service is set to Twitch, or the reverse | Set Service to the platform the key came from |
| Wrong server on Custom | A server address typed from memory, or missing part of its path | Paste the exact server URL the platform shows |
| Stray characters | A space or line break copied with the key | Paste into a plain text editor first, then copy again |
| Key for one broadcast | Some platforms issue a key per live stream | Create the new broadcast and use its key |
Platforms describe their own versions. Kick's help center says that if you reset your stream key, you must update your streaming software with the new key. It also tells LiveU users to add :443/app to the server URL, an example of a path that has to be exact. YouTube's troubleshooting page says that if a third-party encoder errors on startup, get a new stream key in the Live Control Room and update the encoder.
Twitch has a page of its own: the Twitch stream key guide covers password resets and Connect Account. Facebook's per-stream keys are explained in the Facebook stream key guide.
If the key is definitely right
OBS's message allows for this: if the key is correct, there may be a problem connecting to the server. Try another server from the Server list in Settings, Stream, if the service offers one. Then check on the platform's site that the account is allowed to stream at all.
Signing in avoids pasting keys entirely. Where OBS offers Connect Account for a service, OBS fetches the key itself, which removes the old-key and wrong-platform mistakes in one go. The trade-off is one more login to keep valid.
When the account isn't allowed to stream yet
A refusal can come from the account rather than the settings. YouTube's getting started page says you need to verify your channel before streaming. It also says the channel can't have had live streaming restrictions in the past 90 days. A strike on a restricted stream blocks live streaming for 14 days. During any of those, a perfectly copied key still gets refused.
So before you reset keys a third time, sign in to the platform in a browser and try to start a live stream there. If the platform's own page says you can't, no OBS setting will change that.
The Custom service workaround
In one OBS forum thread about this error, two Twitch streamers report getting past it with Service set to Custom. They pasted a Twitch ingest URL and their key by hand. A Facebook streamer in the same thread tried the same thing and still got the error. Nobody there confirmed why it worked, and an OBS forum admin said version 30.2.3 should resolve the problem behind that thread.
The cost is that Custom gives up what the service entry did for you. You lose the Server list to choose from, Connect Account (recommended) and the service's setting recommendations. Treat Custom as a test. If it works, update OBS and try the named service again after the next release.
When it appears in the middle of a stream
If the stream ran, dropped, and then this error shows up as OBS tries to reconnect, the server refused the reconnection. Check whether the platform still shows the broadcast as live; if it has ended, start a new one and use its key. Then find out why the drop happened with the disconnect guide, because a fresh key won't stop the next drop.
Stream key error questions
Why does OBS say could not access the stream key on YouTube?
Either the key in OBS isn't the one YouTube expects, or the channel can't stream yet. YouTube's help says to get a new stream key in the Live Control Room and update your encoder. It also requires a verified channel with no live streaming restrictions in the past 90 days. Check both before changing other settings.
Will resetting my stream key fix the OBS stream key error?
Only when the old key was the problem. A reset gives you a new key that you then have to paste into OBS with the matching service selected. If the key was already right, a reset changes nothing. Check the log's Connection failed line and the server address first, then the account's streaming status.
Can a correct stream key still give this error in OBS?
Yes. OBS's message says that if the key is correct, there may be a problem connecting to the server. The key may be right but paired with the wrong service or server address, or the account may not be allowed to stream yet.
What does failed: -3 mean in the OBS log?
The server refused the stream after the connection opened, which is the code behind this error. A -2 means the connection never opened.
Can a key from YouTube work with the Twitch service in OBS?
No. Set Service to the platform the key came from, or the server will refuse it.
How do I remove stray characters from a copied stream key?
Paste it into a plain text editor first, then copy it again into OBS.
Does Kick need a special server path for LiveU?
Yes. Kick tells LiveU users to add :443/app to the server URL.
Can a restricted YouTube channel get this OBS error?
Yes. A channel that isn't verified or has live restrictions in the last 90 days gets refused however good the key.
Should I switch to Custom service to fix this OBS error?
Only as a test. Custom loses the server list, Connect Account and the service's recommendations, so return to the named service after updating.
Why did this error appear mid-stream in OBS?
The server refused the reconnection. If the broadcast has ended on the platform, start a new one and use its key.
Sources
10 sources, checked November 15, 2026
Platform and app documentation changes. These sources were checked on the dates shown.
- OBS Studio source: plugins/obs-outputs/rtmp-stream.c, checked November 12, 2026
- OBS Studio locale: frontend/data/locale/en-US.ini, checked November 12, 2026
- Kick Help: How to stream on KICK.com, checked November 13, 2026
- YouTube Help: Troubleshoot your YouTube live stream, checked November 15, 2026
- YouTube Help: Get started with live streaming, checked November 15, 2026
- OBS Studio 33.0.1 source: plugins/obs-outputs/rtmp-stream.c, checked November 15, 2026
- OBS Studio 33.0.1 source: libobs/obs-defs.h (output codes), checked November 15, 2026
- OBS Studio 33.0.1 source: frontend/widgets/OBSBasic_Streaming.cpp, checked November 15, 2026
- OBS Studio 33.0.1 locale: frontend/data/locale/en-US.ini, checked November 15, 2026
- OBS Forums: Error, could not access the specified channel or stream key, checked November 15, 2026
WaveSync makes the interactive side easy
WaveSync plays sounds, runs games and reads chat aloud when viewers send gifts or type a command. Every setting is a click or two away, and the Free plan needs no card.
See how WaveSync works →