{"action":"created","issue":{"url":"https://api.github.com/repos/node-red/node-red-nodes/issues/100","labels_url":"https://api.github.com/repos/node-red/node-red-nodes/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/node-red/node-red-nodes/issues/100/comments","events_url":"https://api.github.com/repos/node-red/node-red-nodes/issues/100/events","html_url":"https://github.com/node-red/node-red-nodes/issues/100","id":58715527,"number":100,"title":"Twilio node not persisting token","user":{"login":"fsamir","id":154823,"avatar_url":"https://avatars.githubusercontent.com/u/154823?v=3","gravatar_id":"","url":"https://api.github.com/users/fsamir","html_url":"https://github.com/fsamir","followers_url":"https://api.github.com/users/fsamir/followers","following_url":"https://api.github.com/users/fsamir/following{/other_user}","gists_url":"https://api.github.com/users/fsamir/gists{/gist_id}","starred_url":"https://api.github.com/users/fsamir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsamir/subscriptions","organizations_url":"https://api.github.com/users/fsamir/orgs","repos_url":"https://api.github.com/users/fsamir/repos","events_url":"https://api.github.com/users/fsamir/events{/privacy}","received_events_url":"https://api.github.com/users/fsamir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-24T09:53:56Z","updated_at":"2015-02-24T13:16:35Z","closed_at":null,"body":"When using 'local credentials' on the Twilio node, I get the following error:\r\n`[red] twilio out : RestClient requires an Account SID and Auth Token set explicitly or via the TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables\r\n[red] unknown type: twilio out`\r\n\r\nSome debugging tells me the token isn't getting persisted and `RED.nodes.getCredentials(n.id);` returns undefined.\r\n\r\nThanks\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/node-red/node-red-nodes/issues/comments/75754115","html_url":"https://github.com/node-red/node-red-nodes/issues/100#issuecomment-75754115","issue_url":"https://api.github.com/repos/node-red/node-red-nodes/issues/100","id":75754115,"user":{"login":"knolleary","id":51083,"avatar_url":"https://avatars.githubusercontent.com/u/51083?v=3","gravatar_id":"","url":"https://api.github.com/users/knolleary","html_url":"https://github.com/knolleary","followers_url":"https://api.github.com/users/knolleary/followers","following_url":"https://api.github.com/users/knolleary/following{/other_user}","gists_url":"https://api.github.com/users/knolleary/gists{/gist_id}","starred_url":"https://api.github.com/users/knolleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knolleary/subscriptions","organizations_url":"https://api.github.com/users/knolleary/orgs","repos_url":"https://api.github.com/users/knolleary/repos","events_url":"https://api.github.com/users/knolleary/events{/privacy}","received_events_url":"https://api.github.com/users/knolleary/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T13:16:35Z","updated_at":"2015-02-24T13:16:35Z","body":"@fsamir we had fixed this in git but failed to publish the fix to npm.\r\n\r\nI've just published 0.0.6 and verified the fix locally."}}