How do I accept a specific HTTP status code?
Use explicit codes or ranges for APIs and protected endpoints.
A blank Expected status codes field accepts any 2xx response. Enter comma-separated codes or ranges to define another valid result, such as 200-299,401.
A status outside the expected set fails the check. A 401 response only counts as success when you intentionally include it; consider whether that actually proves the endpoint is healthy.
What to do
- Edit the monitor and open Advanced settings.
- Find Request and response and enter the expected statuses.
- Save, then inspect the next check result.