Skip to main content

Documentation Index

Fetch the complete documentation index at: https://apidocs.erlc.gg/llms.txt

Use this file to discover all available pages before exploring further.

When the ER:LC API encounters a problem, it returns a JSON response body containing an error code. Use this reference to identify the cause of an error and determine the appropriate action for your application to take.

Error code table

CodeMeaning
0Unknown error occurred. If this persists, contact PRC via an API ticket.
1001An error occurred communicating with Roblox or the in-game private server.
1002An internal system error occurred.
CodeMeaning
2000You did not provide a server-key.
2001You provided an incorrectly formatted server-key.
2002You provided an invalid or expired server-key.
2003You provided an invalid global API key.
2004Your server-key is currently banned from accessing the API.
CodeMeaning
3001You did not provide a valid command in the request body.
3002The server you are attempting to reach is currently offline (has no players).
CodeMeaning
4001You are being rate limited.
4002The command you are attempting to run is restricted.
4003The message you are trying to send is prohibited.
CodeMeaning
9998The resource you are accessing is restricted.
9999The module running on the in-game server is out of date.

Handling code 9999

Error code 9999 means the in-game module on the ER:LC private server is outdated. To resolve this, kick all players from the private server and retry your request.

Handling code 0

If you receive error code 0 (unknown error) and it persists across multiple requests, open an API ticket in the ER:LC Discord server and include the details of your request so the team can investigate.