As I820fde9bc indicates, invalid enum values went unnoticed in the past. This change switches the behavior from simply logging such an encounter to rejecting the REST request with a 400 (bad request). Change-Id: I65d522a1fce4c3ee2a0e98b37fe535d610b39acc