agent request robust error handling and messaging
added request param to client app response