Added error response to post