AI Agent Studio: Any way to extract the REST API Error details into a meaningful message to user ?
Summary:
We are trying to use an agent team for creating absence for an employee and the REST API is giving an error at the background which is a valid error.
However instead of printing the error message, the agent is responding with - "Sorry, the assistant is unavailable right now. If the issue persists, contact your help desk."
Therefore wanted to know if any alternate way to parse the message into a meaningful user message:
I have tried to change the Default Agent Prompt and LLM Prompt but no luck.
Content (please ensure you mask any confidential information):
I am expecting the Agent to give me the answer - "You need to enter an absence duration that's more than 0. (ANC-3405003)"