addition of messageBody to error in api request