Return a 406 instead of raising 500 when accessing existing actions with invalid formats