Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"errorMessage": "Cannot read property '0' of undefined" #16

Closed
shanitgupta opened this issue Mar 7, 2017 · 6 comments
Closed

"errorMessage": "Cannot read property '0' of undefined" #16

shanitgupta opened this issue Mar 7, 2017 · 6 comments

Comments

@shanitgupta
Copy link

I installed AutoTag on Friday and it seemed to be working fine (I verified it was working). Starting Sunday I started seeing errors and nothing was getting tagged. Here is the error I am seeing

{
"errorMessage": "Cannot read property '0' of undefined",
"errorType": "TypeError",
"stackTrace": [
"/var/task/aws_cloud_trail_listener.js:98:58",
"new Promise (/var/task/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:193:7)",
"AwsCloudTrailListener.retrieveLogFileDetails (/var/task/aws_cloud_trail_listener.js:96:14)",
"_callee$ (/var/task/aws_cloud_trail_listener.js:62:30)",
"tryCatch (/var/task/node_modules/babel-regenerator-runtime/runtime.js:61:40)",
"GeneratorFunctionPrototype.invoke [as _invoke] (/var/task/node_modules/babel-regenerator-runtime/runtime.js:329:22)",
"GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/var/task/node_modules/babel-regenerator-runtime/runtime.js:94:21)",
"onFulfilled (/var/task/node_modules/co/index.js:65:19)",
"/var/task/node_modules/co/index.js:54:5",
"new Promise (/var/task/node_modules/babel-polyfill/node_modules/core-js/modules/es6.promise.js:193:7)"
]
}

The CloudTrail logs seem fine. I was able to download them and see valid content. If there are instructions to self host the code with modifications that will help a lot.

@jkovolski
Copy link

Any luck with this? I'm seeing the same issue.

@shanitgupta
Copy link
Author

shanitgupta commented Mar 31, 2017 via email

@jkovolski
Copy link

Sure, that would be appreciated. Thank you.

@shanitgupta
Copy link
Author

shanitgupta commented Apr 1, 2017 via email

@em0ney
Copy link
Collaborator

em0ney commented Jun 30, 2017

Hi @shanitgupta,

Can you please submit a pull request for your changes? If there is a bug, it would be great to have it resolved here for all users!

Thanks,
Elliott

@em0ney
Copy link
Collaborator

em0ney commented Feb 27, 2018

Hi @shanitgupta,

Can you share a PR?

@em0ney em0ney closed this as completed Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants