value error handling in the gateway master api just in case someone sends us something rotten.