On mongoengine ValidationError return the error dict
handle empty uri params