ACI API 26.3
ACI API Programming Guide

# aciResponseGetErrorStatus

Call the `aciResponseGetErrorStatus` function to extract any error information from the response of an ACI server.

## Syntax

    aciError aciResponseGetErrorStatus(
       t_aciObject* pResult,
       t_aciErrorStatus* pError)

## Arguments

Arguments | Type/Description
--- | ---
`pResult` | `t_aciObject*` An ACI object that contains the result returned by an ACI server.
`pError` | `t_aciErrorStatus*` An ACI error status structure to hold the error information extracted.

## Discussion

This function extracts any error information from an ACI object that contains the result of a response by an ACI server. It extracts this information to an ACI error status structure.

## Returns

An ACI error code.

## Example

    t_aciErrorStatus* pErrorStatus = NULL;
    aciErrorStatusCreate(&pErrorStatus);
    aciResponseGetErrorStatus(pResult, pErrorStatus); if (
       pErrorStatus->eResponse != eResponseSuccess) {
       fprintf(stderr, "The error description is %s\n",
    pErrorStatus->szErrorDescription);
    }
    aciErrorStatusDestroy(&pErrorStatus);

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ACI API 26.3

Topic Title: aciResponseGetErrorStatus