diff --git a/server%2Fquery.md b/server%2Fquery.md index 6870cea..9e12a9f 100644 --- a/server%2Fquery.md +++ b/server%2Fquery.md @@ -9,6 +9,12 @@ Ping a Java or Bedrock server and retrieve it's status. | platform | string | `JAVA` or `BEDROCK` | | hostname | string | `The server hostname to lookup` | +## Error Codes +| Code | Description | +|---------------------|:--------------------------------------:| +| `400 (BAD_REQUEST)` | The platform or hostname is invalid | +| `404 (NOT_FOUND)` | The requested server couldn't be found | + ## Cache Results are cached for up to `1 minute`