Throw error on invalid body rather than passing through to route