Skip to content

Works in Node.JS 22, but NOT on Node.JS 24 on AWS Lambda #154

@Ben-CA

Description

@Ben-CA

Just a heads up - while AWS Lambda now supports Node.js 24 (default), this code does not work with Node.js 24 - I downgraded to Node.js 22, and then it worked.

ERROR Init Error {"errorType":"Runtime.CallbackHandlerDeprecated","errorMessage":"ERROR: AWS Lambda has removed support for callback-based function handlers starting with Node.js 24. You need to modify this function to use a supported handler signature to use Node.js 24 or later. For more information see https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler.html .","name":"Runtime.CallbackHandlerDeprecated"

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions