Print error message from api when request is invalid