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

RollbarJSON.parse is not a function (AWS Lambda) #1097

Open
aslakhellesoy opened this issue Mar 5, 2023 · 1 comment
Open

RollbarJSON.parse is not a function (AWS Lambda) #1097

aslakhellesoy opened this issue Mar 5, 2023 · 1 comment

Comments

@aslakhellesoy
Copy link

Hi there, we're using rollbar.lambdaHandler as described in https://docs.rollbar.com/docs/aws-lambda

When a lambda fails, the error gets logged to Rollbar correctly, however we're seeing STDERR errors in our CloudWatch logs like this:

2023-03-03T23:45:41.179Z	63338326-2dc5-4270-a1bc-54d555d7a03d	ERROR	Could not parse api response, err: TypeError: RollbarJSON.parse is not a function

I've looked at old issues, and wonder if this might be related to #887.

Environment:

  • AWS Lambda Node.js 16.x
  • rollbar 2.26.1 (NPM module)
@aslakhellesoy
Copy link
Author

Hello - any update on this please?

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

1 participant