updated the http manager to error to return message not the whole obj