{"action":"created","issue":{"url":"https://api.github.com/repos/RailsApps/learn-rails/issues/45","repository_url":"https://api.github.com/repos/RailsApps/learn-rails","labels_url":"https://api.github.com/repos/RailsApps/learn-rails/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/RailsApps/learn-rails/issues/45/comments","events_url":"https://api.github.com/repos/RailsApps/learn-rails/issues/45/events","html_url":"https://github.com/RailsApps/learn-rails/issues/45","id":55421754,"number":45,"title":"Message \"We recently blocked a sign-in attempt to your Google Account\"","user":{"login":"GraymonkDesign","id":5513528,"avatar_url":"https://avatars.githubusercontent.com/u/5513528?v=3","gravatar_id":"","url":"https://api.github.com/users/GraymonkDesign","html_url":"https://github.com/GraymonkDesign","followers_url":"https://api.github.com/users/GraymonkDesign/followers","following_url":"https://api.github.com/users/GraymonkDesign/following{/other_user}","gists_url":"https://api.github.com/users/GraymonkDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/GraymonkDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraymonkDesign/subscriptions","organizations_url":"https://api.github.com/users/GraymonkDesign/orgs","repos_url":"https://api.github.com/users/GraymonkDesign/repos","events_url":"https://api.github.com/users/GraymonkDesign/events{/privacy}","received_events_url":"https://api.github.com/users/GraymonkDesign/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-25T17:02:26Z","updated_at":"2016-03-01T08:00:34Z","closed_at":"2016-03-01T08:00:34Z","body":"While in development I was able to login to Google Drive account and successfully write email messages to the spreadsheet. After deploying the learn-rails app to Heroku \r\nhttp://remeszapp.herokuapp.com/\r\nI get the following error messages in the Heroku logs:\r\n2015-01-25T16:39:18.725623+00:00 app[web.1]: Processing by ContactsController#create as HTML\r\n2015-01-25T16:39:18.724227+00:00 app[web.1]: Started POST \"/contacts\" for 87.207.57.86 at 2015-01-25 16:39:18 +0000\r\n2015-01-25T16:39:18.816019+00:00 app[web.1]: Completed 500 Internal Server Error in 90ms\r\n2015-01-25T16:39:18.725715+00:00 app[web.1]:   Parameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"X/O43dRtqJ+A6Yqh2ysj4E4fq1bFON8eWpJD2G1RkN5+m3djTb/1ElhEY40VJaWVvcNNlQ+mSC89cr2WKayAXw==\", \"contact\"=>{\"name\"=>\"Kaszub\", \"email\"=>\"kaszub@kaszub.oo\", \"content\"=>\"Whats up\"}, \"commit\"=>\"Submit\"}\r\n2015-01-25T16:39:18.726532+00:00 app[web.1]: WARNING: GoogleDriveV0.login is deprecated and will be removed in the next version. Use GoogleDriveV0.login_with_oauth instead.\r\n2015-01-25T16:39:18.817107+00:00 app[web.1]: \r\n2015-01-25T16:39:18.817109+00:00 app[web.1]: GoogleDriveV0::AuthenticationError (Authentication failed for jarek.remesz@gmail.com: Response code 403 for post https://www.google.com/accounts/ClientLogin: Error=BadAuthentication\r\n\r\nI am sure that the login credentials to my google account are properly added to Heroku configuration variables. Adding subscription to Mailchip works.\r\n\r\nCan you help me find out reason for the above errors.\r\n- Jarek Remesz"},"comment":{"url":"https://api.github.com/repos/RailsApps/learn-rails/issues/comments/190603026","html_url":"https://github.com/RailsApps/learn-rails/issues/45#issuecomment-190603026","issue_url":"https://api.github.com/repos/RailsApps/learn-rails/issues/45","id":190603026,"user":{"login":"DanielKehoe","id":950301,"avatar_url":"https://avatars.githubusercontent.com/u/950301?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielKehoe","html_url":"https://github.com/DanielKehoe","followers_url":"https://api.github.com/users/DanielKehoe/followers","following_url":"https://api.github.com/users/DanielKehoe/following{/other_user}","gists_url":"https://api.github.com/users/DanielKehoe/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielKehoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielKehoe/subscriptions","organizations_url":"https://api.github.com/users/DanielKehoe/orgs","repos_url":"https://api.github.com/users/DanielKehoe/repos","events_url":"https://api.github.com/users/DanielKehoe/events{/privacy}","received_events_url":"https://api.github.com/users/DanielKehoe/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T08:00:34Z","updated_at":"2016-03-01T08:00:34Z","body":"The extra Gmail security steps can make difficulties for beginners, so now the book shows how to use SendGrid to send email."}}