The argument request is missing in validate_code() in examples