> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://wiki.volthosting.co.uk/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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!

1. First, head to the [Steam Development API Key creator page](https://steamcommunity.com/dev/apikey) and create a web API key.

2. Next, head to your FiveM server's `server.cfg` and replace the value of `steam_webApiKey` with the key you just created.

3. 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.
