Improve API error message to be more descriptive

Raise an exception with both original message and validation errors.