{"action":"created","issue":{"url":"https://api.github.com/repos/evansolomon/nodejs-kinesis-client-library/issues/18","labels_url":"https://api.github.com/repos/evansolomon/nodejs-kinesis-client-library/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/evansolomon/nodejs-kinesis-client-library/issues/18/comments","events_url":"https://api.github.com/repos/evansolomon/nodejs-kinesis-client-library/issues/18/events","html_url":"https://github.com/evansolomon/nodejs-kinesis-client-library/issues/18","id":97891617,"number":18,"title":"Getting ResourceNotFoundException","user":{"login":"jalateras","id":1454089,"avatar_url":"https://avatars.githubusercontent.com/u/1454089?v=3","gravatar_id":"","url":"https://api.github.com/users/jalateras","html_url":"https://github.com/jalateras","followers_url":"https://api.github.com/users/jalateras/followers","following_url":"https://api.github.com/users/jalateras/following{/other_user}","gists_url":"https://api.github.com/users/jalateras/gists{/gist_id}","starred_url":"https://api.github.com/users/jalateras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalateras/subscriptions","organizations_url":"https://api.github.com/users/jalateras/orgs","repos_url":"https://api.github.com/users/jalateras/repos","events_url":"https://api.github.com/users/jalateras/events{/privacy}","received_events_url":"https://api.github.com/users/jalateras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-29T09:08:32Z","updated_at":"2015-07-29T18:07:14Z","closed_at":null,"body":"I am just trying out the example consumer on a kinesis stream i set up under my account but i get the following error.\r\n\r\nIt looks like i'm not passing the access.secret keys correctly but i can't seem to track down the issue. Any clues?\r\n\r\n```\r\n[jima@ master xxxxx-data-backup]$AWS_ACCESS_KEY_ID=\"XXXXXXXX\" AWS_SECRET_ACCESS_KEY=\"XXXXXXX\" ./node_modules/.bin/launch-kinesis-cluster  --consumer test/tools/kinesis-consumer.js --aws.region ap-southeast-2 --stream xxxxx-stage-backup\r\n{\"name\":\"KinesisClusterLauncher\",\"hostname\":\"jimb.local\",\"pid\":34885,\"level\":30,\"msg\":\"Forking CLI\",\"time\":\"2015-07-29T03:49:51.910Z\",\"v\":0}\r\n{\"name\":\"KinesisClusterCLI\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":30,\"msg\":\"Consumer app path: /Users/jima/xxxxx/workspace/xxxxx-data-backup/test/tools/kinesis-consumer.js\",\"time\":\"2015-07-29T03:49:52.302Z\",\"v\":0}\r\n{\"name\":\"KinesisClusterCLI\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":30,\"options\":{\"streamName\":\"xxxxx-stage-backup\",\"awsConfig\":{\"region\":\"ap-southeast-2\"},\"localDynamo\":false,\"localKinesis\":false},\"msg\":\"Cluster options\",\"time\":\"2015-07-29T03:49:52.305Z\",\"v\":0}\r\n{\"name\":\"KinesisClusterCLI\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":30,\"msg\":\"Launching cluster\",\"time\":\"2015-07-29T03:49:52.308Z\",\"v\":0}\r\n{\"name\":\"KinesisClusterCLI\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":30,\"msg\":\"Spawned cluster jimb.local@34886@1438141792308\",\"time\":\"2015-07-29T03:49:52.364Z\",\"v\":0}\r\n{\"name\":\"KinesisCluster\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":30,\"msg\":\"Starting report cluster loop\",\"time\":\"2015-07-29T03:49:52.764Z\",\"v\":0}\r\n{\"name\":\"KinesisCluster\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":30,\"msg\":\"Starting external network fetch loop\",\"time\":\"2015-07-29T03:49:52.765Z\",\"v\":0}\r\n{\"name\":\"KinesisCluster\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":50,\"msg\":\"Error fetching available shards\",\"time\":\"2015-07-29T03:49:53.185Z\",\"v\":0}\r\n{\"name\":\"KinesisCluster\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":50,\"err\":{\"message\":\"Requested resource not found\",\"name\":\"ResourceNotFoundException\",\"stack\":\"ResourceNotFoundException: Requested resource not found\\n    at Request.extractError (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/protocol/json.js:43:27)\\n    at Request.callListeners (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/sequential_executor.js:105:20)\\n    at Request.emit (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/sequential_executor.js:77:10)\\n    at Request.emit (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/request.js:595:14)\\n    at Request.transition (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/request.js:21:10)\\n    at AcceptorStateMachine.runTo (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/state_machine.js:14:12)\\n    at /Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/state_machine.js:26:10\\n    at Request.<anonymous> (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/request.js:37:9)\\n    at Request.<anonymous> (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/request.js:597:12)\\n    at Request.callListeners (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/sequential_executor.js:115:18)\",\"code\":\"ResourceNotFoundException\"},\"msg\":\"Requested resource not found\",\"time\":\"2015-07-29T03:49:53.188Z\",\"v\":0}\r\n{\"name\":\"KinesisCluster\",\"hostname\":\"jimb.local\",\"pid\":34886,\"level\":30,\"msg\":\"Killing all consumers\",\"time\":\"2015-07-29T03:49:53.188Z\",\"v\":0}\r\nevents.js:85\r\n      throw er; // Unhandled 'error' event\r\n            ^\r\nResourceNotFoundException: Requested resource not found\r\n    at Request.extractError (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/protocol/json.js:43:27)\r\n    at Request.callListeners (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/sequential_executor.js:105:20)\r\n    at Request.emit (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/sequential_executor.js:77:10)\r\n    at Request.emit (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/request.js:595:14)\r\n    at Request.transition (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/request.js:21:10)\r\n    at AcceptorStateMachine.runTo (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/state_machine.js:14:12)\r\n    at /Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/state_machine.js:26:10\r\n    at Request.<anonymous> (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/request.js:37:9)\r\n    at Request.<anonymous> (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/request.js:597:12)\r\n    at Request.callListeners (/Users/jima/xxxxx/workspace/xxxxx-data-backup/node_modules/aws-sdk/lib/sequential_executor.js:115:18)\r\n{\"name\":\"KinesisClusterLauncher\",\"hostname\":\"jimb.local\",\"pid\":34885,\"level\":30,\"exitCode\":1,\"msg\":\"CLI exited, restarting in 5 seconds\",\"time\":\"2015-07-29T03:49:53.194Z\",\"v\":0}\r\n```"},"comment":{"url":"https://api.github.com/repos/evansolomon/nodejs-kinesis-client-library/issues/comments/126043821","html_url":"https://github.com/evansolomon/nodejs-kinesis-client-library/issues/18#issuecomment-126043821","issue_url":"https://api.github.com/repos/evansolomon/nodejs-kinesis-client-library/issues/18","id":126043821,"user":{"login":"evansolomon","id":407310,"avatar_url":"https://avatars.githubusercontent.com/u/407310?v=3","gravatar_id":"","url":"https://api.github.com/users/evansolomon","html_url":"https://github.com/evansolomon","followers_url":"https://api.github.com/users/evansolomon/followers","following_url":"https://api.github.com/users/evansolomon/following{/other_user}","gists_url":"https://api.github.com/users/evansolomon/gists{/gist_id}","starred_url":"https://api.github.com/users/evansolomon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evansolomon/subscriptions","organizations_url":"https://api.github.com/users/evansolomon/orgs","repos_url":"https://api.github.com/users/evansolomon/repos","events_url":"https://api.github.com/users/evansolomon/events{/privacy}","received_events_url":"https://api.github.com/users/evansolomon/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T18:07:14Z","updated_at":"2015-07-29T18:07:14Z","body":"Any remaining issue here or safe to close?"}}