Docs / Reference
Errors and HTTP Status Codes
What each status code means, the shape of an error answer, and how to recover.
The Saige MLS API answers with standard HTTP status codes. RESO Web API servers follow the OData error rules, so an error answer is JSON with an error object that holds a code and a message, and sometimes a target and details. Read the status first, then the message, and log both without the key.
Error answer format
An error answer carries an error object. Show the visitor a plain message, and keep the details in your logs.
{
"error": {
"code": "...",
"message": "...",
"target": "...",
"details": []
}
}Handling errors in code
Check the status before you read the value array. Retry only the errors that can pass on their own.
- 400, 404, 413: fix the request; do not retry it unchanged.
- 401, 403: fix the key or the access; do not retry in a loop.
- 429: wait, then retry. Use the Retry-After header when the answer has one.
- 500 and other 5xx: retry a few times with a growing wait, then show a fallback message.
- Never show raw error text, or the key, to visitors.
Request limits
Request limits are set per key and shared with you when access is set up. Stay inside them by asking only for the fields you show, caching answers on your server, and updating a saved copy with only changed records instead of reading everything again.
HTTP status codes
| Code | Means | What to do |
|---|---|---|
| 200 | OK | Read the answer |
| 400 | Bad request: malformed query or unsupported OData version | Check the filter and field names |
| 401 | Authentication failed | Check the Authorization header and key |
| 403 | Authorization failed | Check what your access includes |
| 404 | Resource or record not found | Check the resource name or key |
| 413 | Request too large | Shorten the request |
| 415 | Unsupported media type | Send Accept: application/json |
| 429 | Too many requests | Wait and retry |
| 500 | Server error | Retry later |
| 501 | Not implemented | Use a supported option |
Codes from the RESO Web API Core specification's response code table.
Common questions
What causes a 400?
A typo in the filter: a missing quote, a wrong field name, or a value in quotes that should not be. Check the field names in your metadata document.
What is the difference between 401 and 403?
401 means the key was not accepted. 403 means the key is valid but not allowed to read what you asked for.
Why do I get a 404 for a listing?
The ListingKey is wrong or the listing is no longer in the feed. Show a no longer listed message.
What should my page show on an error?
A short message and a way to keep browsing. Keep the technical details in your server logs.
How do I avoid 429 errors?
Cache answers, ask only for needed fields, and update your copy with changed records only.
What are my request limits?
They are set per key and shared with you when access is set up.
Should I retry a 500?
Yes, a few times with a growing wait. If it repeats, tell our team.
Can an error answer contain my key?
Your own logs can, if your code prints request headers. Never log the Authorization header.
Specifications
- Web API Core specification (RESO Transport Workgroup)
- OData JSON Format Version 4.01 (OASIS)
Last reviewed 2026-11-20