{"action":"closed","issue":{"url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2372","labels_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2372/labels{/name}","comments_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2372/comments","events_url":"https://api.github.com/repos/tomchristie/django-rest-framework/issues/2372/events","html_url":"https://github.com/tomchristie/django-rest-framework/issues/2372","id":53235680,"number":2372,"title":"unhelpful error message from incorrect format of serializer field validators argument","user":{"login":"robbyt","id":58051,"avatar_url":"https://avatars.githubusercontent.com/u/58051?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyt","html_url":"https://github.com/robbyt","followers_url":"https://api.github.com/users/robbyt/followers","following_url":"https://api.github.com/users/robbyt/following{/other_user}","gists_url":"https://api.github.com/users/robbyt/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyt/subscriptions","organizations_url":"https://api.github.com/users/robbyt/orgs","repos_url":"https://api.github.com/users/robbyt/repos","events_url":"https://api.github.com/users/robbyt/events{/privacy}","received_events_url":"https://api.github.com/users/robbyt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-02T03:10:33Z","updated_at":"2015-01-02T10:39:49Z","closed_at":"2015-01-02T10:39:49Z","body":"I attempted to create a serializer field with the validators argument set to a string inside a tuple. Obviously this is incorrect, but it was not easy to debug because the stack trace shows that the error is coming from the `post` method on the view, not from the `.is_valid` call. If you call `.is_valid` directly, it throws the type error.\r\n\r\n```python\r\n      organization = serializers.SlugRelatedField(                                 \r\n          slug_field='slug',                                                       \r\n          queryset=Organization.objects.all(),                                     \r\n          required=True,                                                           \r\n          validators=('validate_organization_unique',),           \r\n      ) \r\n```\r\n\r\n`*** TypeError: 'str' object is not callable`"}}