How to resolve "Steam Authentication for XYZ Failed: HTTP 403" on your FiveM server
Sometimes, you can be running a resource on your FiveM server that requires your Steam web API key to be set, so you may receive an error if this is set incorrectly.
Error Examples
[ citizen-server-impl] Steam authentication for USERNAME failed: HTTP 403: <html><head><title>Forbidden</title> </head><body><h 1>Forbidden</h1>Access is denied. Retrying will not help. Please verify your <pre>key=</pre> parameter.</body></html>
Connection rejected by XYZ's server: AFTERBURNER Has Failed To Authenticate! Please Contact The Server Owner
How to resolve the error
The fix is simple!
- First, head to the Steam Development API Key creator page and create a web API key.
- Next, head to your FiveM server's
server.cfg
and replace the value ofsteam_webApiKey
with the key you just created.
- Reload your server, and the issue will be resolved.
Why does this happen?
This can happen for a range of reasons, the most common are:
- You changed your Steam password
- Your existing API key has expired
- You changed your Steam Guard details
Simply generate a new one, and make the edit in your server.cfg
to resolve.
Updated on: 19/11/2024
Thank you!