You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to capture HCM AI agent API error output to display to the employee

Summary:

We want to show the error log return by API (elementEntries) to the employee. please suggest how to capture the error message and display to the employee in HCM AI agent Chat.
Content (please ensure you mask any confidential information):

we are using API "/hcmRestApi/resources/latest/elementEntries" to create element entry via HCM AI Agent. We want to show the error log return by API to the end user ie. employee. please suggest how to capture the error message and display to the employee.
Version (include the version you are using, if applicable): 25C

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!