# Error STEAM: \[AppId: 0\] Game Server API initialized 0

**URL:** <https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296>\
**Category:** Platform & Builds\
**Tags:** Steam, Server, unreal-engine, config, UE4, question\
**Created:** [May 30, 2018, 5:03pm UTC](https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296 "2018-05-30T17:03:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kanteh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kanteh](https://forums.unrealengine.com/u/Kanteh)\
**Post date:** [May 30, 2018, 5:03pm UTC](https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296/1 "2018-05-30T17:03:56Z")

</div>

Hello,  
im trying to get my dedicated server running. I have compiled the engine and added steamworks. the modules etc should be fine.  
I think it might be a problem with the config files. When i try to launch the dedicated server it tells me appID=0.  
The defaultengine.ini should be correct since steam is launching in clientmode(i can even start a listenserver).

Any idea what might cause this ? Thanks for ur help :)(steam integration is really a time sink…)

```
----------------What i also discovered is:
(Ue4-18.2 from laucher): 
Steam works in editor mode/standalone client

(Ue4-19.2 from github): PACKED GAME
Steam doesnt work in development editor mode.
Steam doesnt work on development dedicated server.
But Steam works when i lauch game (development client mode)

---------------------------LOGS:
LogOnline: Display: STEAM: Loading Steam SDK 1.39
LogOnline: Verbose: STEAM: Initializing Steam Game Server IP: 0x00000000 Port: 7777 SteamPort: 7778 QueryPort: 27015
LogOnline: STEAM: [AppId: 0] Game Server API initialized 0
LogOnline: Warning: STEAM: Failed to initialize Steam, this could be due to a Steam server and client running on the same machine. Try running with -NOSTEAM on the cmdline to disable.
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
LogOnline: Warning: STEAM: Steam API failed to initialize!
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
```

---

<div class="post-metadata">

**Author:** ![Kanteh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kanteh](https://forums.unrealengine.com/u/Kanteh)\
**Post date:** [May 30, 2018, 5:22pm UTC](https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296/2 "2018-05-30T17:22:39Z")

</div>

SOLVED:  
i solved it with placing an steam\_appid.txt in the same folder.

i think its a little strange that the client creates/deletes its own steam\_appid.txt but the server doesnt it.  
hope this helps some other ppl

---

<div class="post-metadata">

**Author:** ![muchcharles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@muchcharles](https://forums.unrealengine.com/u/muchcharles)\
**Post date:** [January 3, 2019, 1:31am UTC](https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296/3 "2019-01-03T01:31:25Z")

</div>

For anyone googling, “same folder” means same folder as the binary. On a linux dedicated server that meant: [Gamename]/Binaries/Linux

---

<div class="post-metadata">

**Author:** ![Damion\_Knife](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Damion\_Knife](https://forums.unrealengine.com/u/Damion_Knife)\
**Post date:** [June 24, 2021, 8:36am UTC](https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296/4 "2021-06-24T08:36:06Z")

</div>

@muchcharles Does this apply for Development Build also? Also everytime i paste the txt file there it dissappears after launching server. Is this supposed to happen?

---

<div class="post-metadata">

**Author:** ![HERO4K60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HERO4K60](https://forums.unrealengine.com/u/HERO4K60)\
**Post date:** [April 9, 2022, 11:58pm UTC](https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296/5 "2022-04-09T23:58:41Z")

</div>

i have same problem and (steam\_appid) it getting deletes every time i open the game/server — did u solved it ?

---

<div class="post-metadata">

**Author:** ![KevinDuguay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KevinDuguay](https://forums.unrealengine.com/u/KevinDuguay)\
**Post date:** [November 28, 2022, 8:51pm UTC](https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296/6 "2022-11-28T20:51:01Z")

</div>

Hi!

We are having the exact same issue in our project and I was wandering if you remembered what port you opened on your dedicated server?

---

<div class="post-metadata">

**Author:** ![Altrue](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/altrue/32/1186768_2.png) [@Altrue](https://forums.unrealengine.com/u/Altrue)\
**Post date:** [April 6, 2025, 3:26pm UTC](https://forums.unrealengine.com/t/error-steam-appid-0-game-server-api-initialized-0/426296/7 "2025-04-06T15:26:29Z")

</div>

I also have this exact same issue. (Development build, I haven’t tested shipping)

- I have my custom AppId.
- Dedicated Linux server works
- Dedicated Windows server on a Windows Server, does not work. Because, there and ONLY there, appId is weirdly zero for some reason.
- Using the exact same build (copy paste) on my own W10 machine, the dedicated server works just fine. But it has a Steam Client installed.

Things I have double checked/done on the Windows Server:

- SteamCMD is in the path (just in case).
- Briefly disabled the firewall in the OS and in the baremetal host provider, to ensure it wasn’t a firewall issue (though of course the relevant ports were already open)
- The 3 steam DLLs are inside of the packaged folder in binary/thirdparties/steam/v157/etc…
- Manually adding steam\_appid.txt, it dissapears as soon as I start the executable (which makes sense since a few ms after the start of the executable, the OnlineSubsystemSteam fails to initialize, shuts down, and in the shutdown function is the deletion of this file.) This enabled me to check if it was somehow a filesystem access rights issue. **This didn’t change anything, which means the accepted solution doesn’t work anymore. I suspect since they redid things in 4.24**

The logs, of course, are completely unhelpful.

```auto
LogSteamShared: Display: Loading Steam SDK 1.57
LogSteamShared: Steam SDK Loaded!
LogSteamShared: Warning: Steam Dedicated Server API failed to initialize.
LogOnline: STEAM: [AppId: 0] Game Server API initialized 0
LogOnline: Warning: STEAM: Failed to initialize Steam, this could be due to a Steam server and client running on the same machine. Try running with -NOSTEAM on the cmdline to disable.
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
LogOnline: Warning: STEAM: Steam API failed to initialize!
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()

```

I guess I will next have to try a shipping build, since shipping builds use the Target.cs variables, like `UE_PROJECT_STEAMSHIPPINGID`, instead of the config variables like `SteamDevAppId`. But it really seems like the non shipping builds are completely broken without a steam client somehow.

Or maybe install rider on my windows server machine and debug step by step the issue… Remote ssh debugging is a pain for stuff that happens immediately after opening an executable.

If someone has a solution, I would be interested!
