MTA:SA error code
MTA:SA error CC40
MTA loaded a module that is not the one it expected.
- Code
CC40- Where you see it
- A dialog from MTA itself
- MTA's own wording
- Incorrect module
- Family
- CC codes
What it means
A file in the MTA folder has been replaced or is left over from another version.
MTA's own client shows a CC code when something fails before or during a connection: the address, the nickname, a module it could not load, or the connection itself. MTA's own documentation gives this code as Incorrect module.
How to fix it
Work down the list and stop when it is solved.
Repair your MTA installation
Run the current installer from multitheftauto.com over your existing installation. It replaces MTA's own files without touching your settings.
Use a clean GTA: San Andreas
MTA needs an unmodified GTA installation. If mods, an ASI loader or a replaced gta_sa.exe are in the game folder, reinstall GTA into a fresh folder and let MTA use that copy.
Check your log if it keeps happening
Paste the message, or MTA's core.log, into the Fix tool on this site. It runs on your own computer and points at the matching steps.
Still stuck? The Fix tool reads MTA's own log on your computer and points at the matching steps. Nothing is uploaded.
Open the Fix toolOther CC codes
- CC20MTA refused the nickname you tried to connect with.
- CC21The address you asked MTA to connect to is not a valid host.
- CC22MTA could not open a connection to that server.
- CC23MTA waited for the server and got no answer in time.
- CC24The client and the server did not agree on the encryption or protocol used for the connection.
- CC25The server closed the connection.
- CC26The connection to the server was lost.
- CC27That server has banned you.
- CC28The server disconnected you.
- CC29The connection to the server dropped.
- CC30The server refused the connection.
- CC31MTA could not load the mod it needs for that server.
- CC32The server's answer was not what MTA expected (second form).
- CC33The server's answer was not what MTA expected, and MTA kept the payload it received.
- CC34The networking library on your client and on the server are different versions.
Every MTA:SA error code · Crash codes and offsets
Where this comes from
Meanings read from these sources on 5 September 2026 and written in our own words here.