Reason
- The supplied session ID does not belong to the authenticated user
- A temporary authentication token was used to access an API end-point, that requires authentication
- An anonymous session was used on a wrong portal
Solution
- Make sure, that the API request does not include any session ID, if it includes authentication credentials
- Make sure, that the API request does not include authentication credentials, if you want to authenticate using the session ID
- Restart your browser, if you used Basic HTTP authentication
and want to authenticate using the session ID
- Be sure to specify the correct portal in your API request
Example
{
"status": 454,
"errors": [
{
"code": "SESSION_LOADING_FAILED",
"message": "The server failed to load the session",
"more_info": "https://developer.kayako.com/api/v1/reference/errors/SESSION_LOADING_FAILED"
}
]
}