added msg bodies to be returned in error messages