Symptom
- OData errors are not being transferred or displayed correctly in the AIF Monitor.
- The OData response body in the Gateway contains meaningful error details; however, the AIF Monitor shows only a single, incomplete message.
- Additional error messages required for troubleshooting are omitted. In some cases, the first message may appear with unfilled placeholders or missing message variables.
Environment
- Product: SAP S/4HANA Cloud Public Edition
- Gateway Framework, OData v4
Reproducing the Issue
- Check the OData response body in the Gateway (for example, inspect the service response).
- Open the AIF Monitor and review the corresponding error entry.
- Compare the detailed errors present in the OData response body with those shown in the AIF Monitor and observe that only a single, incomplete message is displayed.
Cause
For OData v4, detailed messages contained in the framework’s message container (rendered in the response under error.details) are not written to the Gateway error log. Since AIF reads from the Gateway error log, only the main exception message is available in AIF. This is by design.
Resolution
- Please note that for OData V4, additional details contained in
error.detailsare not persisted in the Gateway error log and are therefore not visible in AIF by design. - If full visibility of all OData V4 error details in AIF is required, please submit an enhancement request via the SAP Influence Portal:Submit enhancement request. Provide a clear description of the expected behavior and its business impact to help prioritize the request.
See Also
- Refer to: 3510866 - Error Handling: Only logs of the 1st message are shown for OData Message in /AIF/ERR
- Refer to: 3562569 - OData Error Log: no data displayed on the monitor
- Refer to: 3617828 - OData error log not specific as error text not considered
- Refer to: SAP Influence portal – submit enhancement request
Keywords
odata v4, aif monitor, gateway error log, /iwfnd/error_log, error.details, message container, incomplete error message, missing error details, odata error logging, monitoring, formatting placeholders, aif error display, odata response body, log propagation, by design limitation , KBA , OPU-GW-V4 , Gateway Framework, OData v4 , Product Enhancement
SAP Knowledge Base Article - Public