{"action":"created","issue":{"url":"https://api.github.com/repos/Tivix/django-rest-auth/issues/253","repository_url":"https://api.github.com/repos/Tivix/django-rest-auth","labels_url":"https://api.github.com/repos/Tivix/django-rest-auth/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/Tivix/django-rest-auth/issues/253/comments","events_url":"https://api.github.com/repos/Tivix/django-rest-auth/issues/253/events","html_url":"https://github.com/Tivix/django-rest-auth/issues/253","id":174668307,"number":253,"title":"rest_framework.exceptions.ValidationError: {'non_field_errors': ['Incorrect value']}","user":{"login":"lightninglu10","id":2453737,"avatar_url":"https://avatars.githubusercontent.com/u/2453737?v=3","gravatar_id":"","url":"https://api.github.com/users/lightninglu10","html_url":"https://github.com/lightninglu10","followers_url":"https://api.github.com/users/lightninglu10/followers","following_url":"https://api.github.com/users/lightninglu10/following{/other_user}","gists_url":"https://api.github.com/users/lightninglu10/gists{/gist_id}","starred_url":"https://api.github.com/users/lightninglu10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightninglu10/subscriptions","organizations_url":"https://api.github.com/users/lightninglu10/orgs","repos_url":"https://api.github.com/users/lightninglu10/repos","events_url":"https://api.github.com/users/lightninglu10/events{/privacy}","received_events_url":"https://api.github.com/users/lightninglu10/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-02T02:37:01Z","updated_at":"2016-12-22T23:30:08Z","closed_at":"2016-12-22T23:30:08Z","body":"Hey guys,\n\nI'm trying to do Facebook login, but I don't know what this `code` is that I have to send up. \n\nI sent the Facebook App ID, but I'm getting `{'non_field_errors': ['Incorrect value']}` for `self.serializer.is_valid(raise_exception=True)`.\n\nWhat is this?\n"},"comment":{"url":"https://api.github.com/repos/Tivix/django-rest-auth/issues/comments/268913685","html_url":"https://github.com/Tivix/django-rest-auth/issues/253#issuecomment-268913685","issue_url":"https://api.github.com/repos/Tivix/django-rest-auth/issues/253","id":268913685,"user":{"login":"maxim-kht","id":8700772,"avatar_url":"https://avatars.githubusercontent.com/u/8700772?v=3","gravatar_id":"","url":"https://api.github.com/users/maxim-kht","html_url":"https://github.com/maxim-kht","followers_url":"https://api.github.com/users/maxim-kht/followers","following_url":"https://api.github.com/users/maxim-kht/following{/other_user}","gists_url":"https://api.github.com/users/maxim-kht/gists{/gist_id}","starred_url":"https://api.github.com/users/maxim-kht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxim-kht/subscriptions","organizations_url":"https://api.github.com/users/maxim-kht/orgs","repos_url":"https://api.github.com/users/maxim-kht/repos","events_url":"https://api.github.com/users/maxim-kht/events{/privacy}","received_events_url":"https://api.github.com/users/maxim-kht/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T23:30:08Z","updated_at":"2016-12-22T23:30:08Z","body":"Hi @lightninglu10 \r\n\r\nInfo about Facebook code: https://github.com/Tivix/django-rest-auth/issues/203\r\n\r\nAlso, latest version now includes additional validation for `code` and `access_token`, and will throw `\"Incorrect input. access_token or code is required.\"` error when both values are either missing or empty. So if you see this response with the latest version, it means that the problem might be with Facebook App ID."}}
{"actor":{"display_login":"maxim-kht"}}