APP_REST_NOT_AVAILABLE

The first custom component of the resource URI can be an app name, e.g., /api/v1/<app>/<resource>. This app component helps the API service to find the corresponding controller for processing the request.

Most resource URIs are mapped to app-less URIs like /api/v1/<resources>, so the app name can be unavailable.

Reason

  • The API service recognized an app name in the resource URI but was not able to find any API controller in this app

Solution

  • Check if the resource URI was properly specified

Example

{
    "status": 400,
    "errors": [
        {
            "code": "APP_REST_NOT_AVAILABLE",
            "message": "REST API portal is not available for the app",
            "more_info": "https://developer.kayako.com/api/v1/reference/errors/APP_REST_NOT_AVAILABLE"
        }
    ]
}