General Exceptions

These are a list of exceptions that can occur almost anywhere at any time, like if the Siga 3 servers suddenly go down.

chevron-right502 Unable to load sigahashtag

This means the API couldn't connect to the Siga 3 servers, this usually means the servers are down.

{
    "code": 502,
    "message": "Unable to load siga.",
    "uri": "*",
    "server": null,
    "siga": null,
    "client": "*",
    "docs": "https://docs.laravieira.me/mysiga",
    "date": "Sun, 21 May 2023 13:45:50 -0300"
}
chevron-right401 Login required, please do it firsthashtag

The user needs to log in first, so it can have access to the resource. If u logged in already, make sure u're sending the PHPSESSID cookie.

{
    "code": 401,
    "message": "Login required, please do it first.",
    "uri": "*",
    "server": null,
    "siga": null,
    "client": "*",
    "docs": "https://docs.laravieira.me/mysiga",
    "date": "Sun, 21 May 2023 13:45:50 -0300"
}
chevron-right404 Not Foundhashtag

This means the giving method or path is not implemented or doesn't exist on this API.

{
    "code": 404,
    "message": "Not Found",
    "uri": "*",
    "server": null,
    "siga": null,
    "client": "*",
    "docs": "https://docs.laravieira.me/mysiga",
    "date": "Sun, 21 May 2023 13:45:50 -0300"
}
chevron-right404 This request is unavailable on Siga servershashtag

This is only supposed to happen if you call the MySiga by its methods directly. It means the Siga servers didn't recognize the request or returned an invalid response.

{
    "code": 404,
    "message": "This request is unavailable on Siga servers.",
    "uri": "*",
    "server": null,
    "siga": null,
    "client": "*",
    "docs": "https://docs.laravieira.me/mysiga",
    "date": "Sun, 21 May 2023 13:45:50 -0300"
}
chevron-right424 Session not created. Load requestedhashtag

This can happen if u try to access a resource without logging or loading the page or by not sending the PHPSESSID cookie.

{
    "code": 424,
    "message": "Session not created. Load requested.",
    "uri": "*",
    "server": null,
    "siga": null,
    "client": "*",
    "docs": "https://docs.laravieira.me/mysiga",
    "date": "Sun, 21 May 2023 13:45:50 -0300"
}

Last updated