Docs menu

    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 answer (shape)
    {
      "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

    CodeMeansWhat to do
    200OKRead the answer
    400Bad request: malformed query or unsupported OData versionCheck the filter and field names
    401Authentication failedCheck the Authorization header and key
    403Authorization failedCheck what your access includes
    404Resource or record not foundCheck the resource name or key
    413Request too largeShorten the request
    415Unsupported media typeSend Accept: application/json
    429Too many requestsWait and retry
    500Server errorRetry later
    501Not implementedUse 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

    Last reviewed 2026-11-20

    MLS API for BC

    Put live MLS listings on the site you are building

    Saige is an approved MLS data vendor for Greater Vancouver REALTORS, Fraser Valley Real Estate Board, Chilliwack and District Real Estate Board and BC Northern Real Estate Board. Send a request and our team will contact you to check what your board allows and how to connect your builder.

    Call 604.401.4849