Return 400 instead of 500 for bad requests in the opera transport.