# Error Codes

| Code/Link                                                                                                                                                                                                       | Meaning and Fixes                                                                                                                                                                                                                                            |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| API\_ERROR                                                                                                                                                                                                      | API may be down.                                                                                                                                                                                                                                             |
| [API\_PAID\_ONLY](https://info.sonorancad.com/integration-plugins/integration-plugins/available-plugins)                                                                                                        | Framework requires a paid version of the API to function.                                                                                                                                                                                                    |
| [CONFIG\_ERROR](https://info.sonorancad.com/integration-plugins/integration-plugins/framework-installation#3.-configure-and-rename)                                                                             | Config file was not found or is corrupted. Ensure it was renamed!                                                                                                                                                                                            |
| PLUGIN\_DEPENDENCY\_ERROR                                                                                                                                                                                       | A plugin requires another plugin, but it was not present.                                                                                                                                                                                                    |
| [PLUGIN\_CONFIG\_OUTDATED](https://info.sonorancad.com/integration-plugins/integration-plugins/plugin-installation/plugin-troubleshooting#3.-ensure-your-plugin-is-up-to-date-and-download-the-latest-release.) | Look in the shipped config file for the plugin and make changes as needed.                                                                                                                                                                                   |
| PLUGIN\_CORE\_OUTDATED                                                                                                                                                                                          | Framework is outdated for the plugin. Update the framework.                                                                                                                                                                                                  |
| [MAP\_CONFIG\_ERROR](https://info.sonorancad.com/integration-plugins/integration-plugins/available-plugins/live-map#c.-admin-panel-configuration)                                                               | Map configuration is incorrect.                                                                                                                                                                                                                              |
| [PORT\_CONFIG\_ERROR](https://info.sonorancad.com/integration-plugins/integration-plugins/available-plugins/live-map#c.-admin-panel-configuration)                                                              | Game server port is incorrect.                                                                                                                                                                                                                               |
| [PORT\_MISSING\_ERROR](https://info.sonorancad.com/integration-plugins/integration-plugins/available-plugins/live-map#c.-admin-panel-configuration)                                                             | Game server port is missing.                                                                                                                                                                                                                                 |
| [PORT\_OUTBOUND\_ERROR](https://info.sonorancad.com/integration-plugins/integration-plugins/available-plugins/smart-signs#differing-inbound-outbound-ip-addresses)                                              | Outbound IP doesn't match reported IP from your server.                                                                                                                                                                                                      |
| [PORT\_OUTBOUND\_MISMATCH](https://info.sonorancad.com/integration-plugins/integration-plugins/available-plugins/smart-signs#differing-inbound-outbound-ip-addresses)                                           | Server IP doesn't match reported IP from your server.                                                                                                                                                                                                        |
| ERROR\_ABORT                                                                                                                                                                                                    | An unexpected error occurred and SonoranCAD aborted startup. Review logs further up for any errors.                                                                                                                                                          |
| [STEAM\_ERROR](https://forum.cfx.re/t/using-the-steam-api-key-manually-on-the-server/805987)                                                                                                                    | Steam Web API key wasn't found. This must be set.                                                                                                                                                                                                            |
| CUSTOM\_POSTALS\_FILE\_NOT\_FOUND                                                                                                                                                                               | The custom postals file must be located in the directory" `sonorancad\submodules\postals` This error may also indicate a file with a syntax error or that is corrupted                                                                                       |
| POSTAL\_RESOURCE\_MISSING                                                                                                                                                                                       | The configured third party postal resource could not be found                                                                                                                                                                                                |
| POSTAL\_RESOURCE\_STOPPED                                                                                                                                                                                       | The configured third party postal resource is not running                                                                                                                                                                                                    |
| POSTAL\_RESOURCE\_BAD\_STATE                                                                                                                                                                                    | The configured third party postal resource is in  a state other than missing, running or stopped. This is an issue and would typically require a reinstall of the resource                                                                                   |
| POSTAL\_FILE\_READ\_ERROR                                                                                                                                                                                       | The system failed to open the custom postals file for reading. Please ensure correct file permissions are set.                                                                                                                                               |
| POSTAL\_CUSTOM\_RESOURCE\_FILE\_ERROR                                                                                                                                                                           | The resource failed to located the configured postal file from the configured third party resource. This is typically caused when the `postals.json` file is not defined in the third party resource's `fxmanifest.lua`. It must be defined as `postal_file` |
| IDCARD\_RESOURCE\_NOT\_STARTED                                                                                                                                                                                  | The `sonoran_idcard` resource seems to be stopped, this resource is required for the ID card UI to work. The CAD Core will then attempt to start said resource but it is recommended you add it to your `server.cfg`                                         |
| IDCARD\_RESOURCE\_MISSING                                                                                                                                                                                       | The `sonoran_idcard` resource seems to be missing, this resource is required for the the ID card UI to work. You can download the resource from our [GitHub](https://github.com/Sonoran-Software/id_card_ui)                                                 |
| IDCARD\_RESOURCE\_BAD\_STATE                                                                                                                                                                                    | The `sonoran_idcard` resource is in a state other than missing, running or stopped. This is an issue and would typically require a reinstall of the resource                                                                                                 |
| INCORRECT\_WKWARS2X\_VERSION                                                                                                                                                                                    | You are running a version of the [wk\_wars2x ](https://github.com/Sonoran-Software/wk_wars2x)resource other than our ["Sonoran"](https://github.com/Sonoran-Software/wk_wars2x) version. Any other version will not work with SonoranCAD                     |
