{"action":"created","issue":{"url":"https://api.github.com/repos/Nexmo/nexmo-node/issues/75","repository_url":"https://api.github.com/repos/Nexmo/nexmo-node","labels_url":"https://api.github.com/repos/Nexmo/nexmo-node/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/Nexmo/nexmo-node/issues/75/comments","events_url":"https://api.github.com/repos/Nexmo/nexmo-node/issues/75/events","html_url":"https://github.com/Nexmo/nexmo-node/issues/75","id":180962033,"number":75,"title":"sms error 411","user":{"login":"lulucious","id":5415925,"avatar_url":"https://avatars.githubusercontent.com/u/5415925?v=3","gravatar_id":"","url":"https://api.github.com/users/lulucious","html_url":"https://github.com/lulucious","followers_url":"https://api.github.com/users/lulucious/followers","following_url":"https://api.github.com/users/lulucious/following{/other_user}","gists_url":"https://api.github.com/users/lulucious/gists{/gist_id}","starred_url":"https://api.github.com/users/lulucious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lulucious/subscriptions","organizations_url":"https://api.github.com/users/lulucious/orgs","repos_url":"https://api.github.com/users/lulucious/repos","events_url":"https://api.github.com/users/lulucious/events{/privacy}","received_events_url":"https://api.github.com/users/lulucious/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-04T17:58:16Z","updated_at":"2016-10-04T20:38:05Z","closed_at":null,"body":"Hi again,\r\nWhen I send sms using the api, using {} as option and a callback, I systematically get \r\n{ success: false, errors: [ { message: '', code: 411 } ] }\r\nWhen using the debug mod, I am able to get the query path.. It works perfectly with postman!\r\nAny idea?\r\n"},"comment":{"url":"https://api.github.com/repos/Nexmo/nexmo-node/issues/comments/251505924","html_url":"https://github.com/Nexmo/nexmo-node/issues/75#issuecomment-251505924","issue_url":"https://api.github.com/repos/Nexmo/nexmo-node/issues/75","id":251505924,"user":{"login":"cbetta","id":7718,"avatar_url":"https://avatars.githubusercontent.com/u/7718?v=3","gravatar_id":"","url":"https://api.github.com/users/cbetta","html_url":"https://github.com/cbetta","followers_url":"https://api.github.com/users/cbetta/followers","following_url":"https://api.github.com/users/cbetta/following{/other_user}","gists_url":"https://api.github.com/users/cbetta/gists{/gist_id}","starred_url":"https://api.github.com/users/cbetta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbetta/subscriptions","organizations_url":"https://api.github.com/users/cbetta/orgs","repos_url":"https://api.github.com/users/cbetta/repos","events_url":"https://api.github.com/users/cbetta/events{/privacy}","received_events_url":"https://api.github.com/users/cbetta/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T20:38:05Z","updated_at":"2016-10-04T20:38:05Z","body":"@leggetter thanks for reminding me. Still works fine for me though:\r\n\r\n```coffee\r\nNexmo = require('nexmo')\r\n\r\nnexmo = new Nexmo({apiKey: 'key', apiSecret: 'secret'}, {debug: true})\r\n\r\nnexmo.message.sendSms \"my_number\", \"33622222222\", \"Hello World\", (err, res) ->\r\n  console.log(res)\r\n```\r\n\r\nreturns\r\n\r\n```\r\n{ 'message-count': '1',\r\n  messages: \r\n   [ { to: '33622222222',\r\n       'message-id': '070000000F6411EA',\r\n       status: '0',\r\n       'remaining-balance': '12.33580000',\r\n       'message-price': '0.05940000',\r\n       network: '20810' } ] }\r\n```"}}
{"actor":{"display_login":"cbetta"}}