{"action":"created","issue":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/286","labels_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/286/comments","events_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/286/events","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/286","id":92729588,"number":286,"title":"NoMethodError (undefined method `[]' for nil:NilClass):","user":{"login":"nicolas-besnard","id":1261670,"avatar_url":"https://avatars.githubusercontent.com/u/1261670?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-besnard","html_url":"https://github.com/nicolas-besnard","followers_url":"https://api.github.com/users/nicolas-besnard/followers","following_url":"https://api.github.com/users/nicolas-besnard/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-besnard/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-besnard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-besnard/subscriptions","organizations_url":"https://api.github.com/users/nicolas-besnard/orgs","repos_url":"https://api.github.com/users/nicolas-besnard/repos","events_url":"https://api.github.com/users/nicolas-besnard/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-besnard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-02T20:37:44Z","updated_at":"2016-01-17T01:07:50Z","closed_at":null,"body":"I have this error for a couple of day now. Any leads to solve ti ?\r\n\r\n```\r\nNoMethodError (undefined method `[]' for nil:NilClass):\r\n  devise_token_auth (0.1.32.beta10) app/models/devise_token_auth/concerns/user.rb:180:in `build_auth_header'\r\n  devise_token_auth (0.1.32.beta10) app/controllers/devise_token_auth/concerns/set_user_by_token.rb:68:in `update_auth_header'\r\n````"},"comment":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/comments/172281724","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/286#issuecomment-172281724","issue_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/286","id":172281724,"user":{"login":"ecauli","id":114282,"avatar_url":"https://avatars.githubusercontent.com/u/114282?v=3","gravatar_id":"","url":"https://api.github.com/users/ecauli","html_url":"https://github.com/ecauli","followers_url":"https://api.github.com/users/ecauli/followers","following_url":"https://api.github.com/users/ecauli/following{/other_user}","gists_url":"https://api.github.com/users/ecauli/gists{/gist_id}","starred_url":"https://api.github.com/users/ecauli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecauli/subscriptions","organizations_url":"https://api.github.com/users/ecauli/orgs","repos_url":"https://api.github.com/users/ecauli/repos","events_url":"https://api.github.com/users/ecauli/events{/privacy}","received_events_url":"https://api.github.com/users/ecauli/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T01:07:50Z","updated_at":"2016-01-17T01:07:50Z","body":"+1 any solution?"}}