{"action":"created","issue":{"url":"https://api.github.com/repos/alecthomas/voluptuous/issues/143","labels_url":"https://api.github.com/repos/alecthomas/voluptuous/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/alecthomas/voluptuous/issues/143/comments","events_url":"https://api.github.com/repos/alecthomas/voluptuous/issues/143/events","html_url":"https://github.com/alecthomas/voluptuous/issues/143","id":127550895,"number":143,"title":"Exclusive keys nested in a list do not fail with the right error message","user":{"login":"2rs2ts","id":578891,"avatar_url":"https://avatars.githubusercontent.com/u/578891?v=3","gravatar_id":"","url":"https://api.github.com/users/2rs2ts","html_url":"https://github.com/2rs2ts","followers_url":"https://api.github.com/users/2rs2ts/followers","following_url":"https://api.github.com/users/2rs2ts/following{/other_user}","gists_url":"https://api.github.com/users/2rs2ts/gists{/gist_id}","starred_url":"https://api.github.com/users/2rs2ts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2rs2ts/subscriptions","organizations_url":"https://api.github.com/users/2rs2ts/orgs","repos_url":"https://api.github.com/users/2rs2ts/repos","events_url":"https://api.github.com/users/2rs2ts/events{/privacy}","received_events_url":"https://api.github.com/users/2rs2ts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-19T22:11:02Z","updated_at":"2016-01-19T23:22:03Z","closed_at":"2016-01-19T22:56:48Z","body":"```python\r\nfrom voluptuous import *\r\n\r\nschema = Schema({\r\n    'foo': [\r\n        {\r\n            Exclusive('bar', 'excl'): int,\r\n            Exclusive('baz', 'excl'): int,\r\n        }\r\n    ],\r\n})\r\n\r\ndata = {'foo':[{'bar':1,'baz':2}]}\r\n\r\nprint schema(data)\r\n```\r\n\r\nOutput:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"example.py\", line 14, in <module>\r\n    print schema(data)\r\n  File \"/home/me/test/.env/local/lib/python2.7/site-packages/voluptuous.py\", line 333, in __call__\r\n    return self._compiled([], data)\r\n  File \"/home/me/test/.env/local/lib/python2.7/site-packages/voluptuous.py\", line 631, in validate_dict\r\n    return base_validate(path, iteritems(data), out)\r\n  File \"/home/me/test/.env/local/lib/python2.7/site-packages/voluptuous.py\", line 467, in validate_mapping\r\n    raise MultipleInvalid(errors)\r\nvoluptuous.MultipleInvalid: invalid list value @ data['foo'][0]\r\n```\r\n\r\nI would expect instead a message like this instead: `two or more values in the same group of exclusion 'excl'`.\r\n\r\nWe are using voluptuous 0.8.7."},"comment":{"url":"https://api.github.com/repos/alecthomas/voluptuous/issues/comments/173020554","html_url":"https://github.com/alecthomas/voluptuous/issues/143#issuecomment-173020554","issue_url":"https://api.github.com/repos/alecthomas/voluptuous/issues/143","id":173020554,"user":{"login":"alecthomas","id":41767,"avatar_url":"https://avatars.githubusercontent.com/u/41767?v=3","gravatar_id":"","url":"https://api.github.com/users/alecthomas","html_url":"https://github.com/alecthomas","followers_url":"https://api.github.com/users/alecthomas/followers","following_url":"https://api.github.com/users/alecthomas/following{/other_user}","gists_url":"https://api.github.com/users/alecthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/alecthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecthomas/subscriptions","organizations_url":"https://api.github.com/users/alecthomas/orgs","repos_url":"https://api.github.com/users/alecthomas/repos","events_url":"https://api.github.com/users/alecthomas/events{/privacy}","received_events_url":"https://api.github.com/users/alecthomas/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T23:22:03Z","updated_at":"2016-01-19T23:22:03Z","body":"Yes it is specific... validators need to explicitly extend the path in order for deeper errors to be reported. If they don't do that, the top error is reported. If you find any more add them here and I'll fix them up as I go."}}