Fix error messages in failed requests