BAD_REQUEST

Message: Invalid request format or missing required parameters.Description: The provided JSON or request body could not be parsed or mapped to the expected resource. Ensure all required parameters are included and that the request format is correct. Also ensure that all data types are correct.

UNAUTHORIZED

Message: Missing or invalid authentication credentials.Description: Ensure that the request includes valid authentication tokens or credentials.

FORBIDDEN

Message: Merchant lacks permission to perform the requested action.Description: The merchant does not have the necessary permissions to execute the requested API call.

NOT_FOUND

Message: Claim or Policy not found.Description: The requested claim or policy could not be located. Verify the provided claim ID, claim number, or policy ID.

UNPROCESSABLE_ENTITY

Message: The provided information cannot be processed.Description: The server cannot process the request due to semantic errors or invalid data. This may occur when attempting to update a claim in a final state or providing invalid data.

INTERNAL_SERVER_ERROR

Message: An unexpected error occurred on the server.Description: An internal server error occurred while processing the request. Please try again later. If the issue persists, contact support.

AUTHORITY_REPORT_UPDATE_NOT_SUPPORTED

Message: Updating authority reports is not supported yet.Description: Updates to authority reports (police reports, etc.) are currently not allowed. Please contact the support team for assistance.

WITNESS_INFO_NOT_SUPPORTED

Message: Updating witness information is not supported yet.Description: Updates to witness information are currently not allowed. Please contact the support team for assistance.

POLICY_DOES_NOT_EXIST

Message: Policy does not exist.Description: The provided policy ID or policy number does not correspond to an existing policy in our system.

DUPLICATE_CLAIM

Message: A claim of this type has already been submitted for this policy.Description: A claim of the same type has already been submitted for the specified policy. Please await a status update before submitting another claim.

MISSING_POLICY_IDENTIFIER

Message: You must provide either a policy ID or a policy number.Description: To submit a claim, you must provide either the policy ID or the policy number to identify the associated policy.

CONFLICTING_POLICY_IDENTIFIERS

Message: You cannot provide both a policy ID and a policy number.Description: Please provide either a policy ID or a policy number, but not both, to identify the associated policy.

MISSING_UPDATE_FIELDS

Message: You must provide at least one field to update.Description: To update a claim, you must provide at least one of the allowed fields: claimant_metadata, claim_details, or witness_details.

WITNESS_NAME_REQUIRED

Message: Each witness must have a name.Description: When providing witness details, the name field is required for each witness.

CLAIM_NUMBER_UPDATE_NOT_ALLOWED

Message: Claim number cannot be updated.Description: The claim number cannot be modified after the claim is created.

CLAIM_AMOUNT_UPDATE_NOT_ALLOWED

Message: Claim amount cannot be updated.Description: The claim amount cannot be modified after the claim is created.

SUPPORTING_DOCUMENTS_UPDATE_NOT_ALLOWED

Message: Supporting documents cannot be updated.Description: Supporting documents cannot be modified after the claim is created.