more detailed error message for internal error