A response with this status code indicates the record you are attempting to access cannot be found using the provided ID.

For example, here's the response you'd receive when attempting to access a roster contact using an ID that does not exist in OnCall or is not accessible through the account connected to your API key:

{
    "detail": "Not found."
}

Solution

Verify the ID passed along with the request corresponds with an OnCall record accessible via the provided authorization credentials.