IraCPA: Error responses

1.  01 - Mandatory fields are not specified

  "Error in json request = {\n    \"required\": {\n        \"missing\": [\n            \"<field_name>\"\n        ],\n        \"errorCode\": 15,\n        \"instanceRef\": \"#\",\n        \"schemaRef\": \"#\"\n    }\n}",

The error message indicates the fields required for analysis were not sent as part of the request. The application that is sending the parameters needs to be checked for these kind of errors. Please check the logs or configuration of the application that is making requests to IraCPA.

2. 02 - Could not save the CPA configuration

    tenant_id or config_name cannot be empty


3. 03 - Specified CPA configuration not found

    No CPA config available by name <config name> for <tenant_id>

 If IraCPA service is restarted, then the application sending CPA Params(set_cpa_params API) should resend the CPA Params as IraCPA does not have those configurations.


4. 04 - No license available for the tenant 

    "No license of type iracpa:amd assigned to tenant <tenant name>" 

This error occurs due to one of the following reasons:

    1. The irapass service may not be running. Verify its status.

    2. A license has not been acquired for the specified tenant ID.

    3. The tenant ID provided is incorrect.

Check the irapass logs to ensure the tenant Id and cluster Id match the credentials provided. If no license has been acquired for the given tenant ID, please contact your administrator for further assistance.

5.  05 - Specified CPA analyzer not found
6.  06 - RTP data was sent without initializing the analyser

    Analyser not initialized!

7.  07 -  Yet to join IraCluster
{
    "break": true,
    "reason": "Yet to join IraCluster",
    "request_count": 1,
    "result": "07"
}