Skip to content

Error when validating any GBFS feed - "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." #223

Done

Description

@clementcitiz

Hi there, Clément from Citiz (FR).

The validator (https://gbfs-validator.mobilitydata.org/validator) does not work as of today. Any feed tested results in this 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.", "trace": [ "Runtime.CallbackHandlerDeprecated: 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.", " at errorOnDeprecatedCallback (file:///var/runtime/index.mjs:657:11)", " at createRuntime (file:///var/runtime/index.mjs:1292:5)", " at async ignition (file:///var/runtime/index.mjs:1724:21)" ] }
image

The problem looks to be on your infrastructure. Hope you can manage to fix it soon!

Activity

  1. richfab commented on Nov 24, 2026

    @richfab
    Contributor

    Hi @clementcitiz,

    Thank you for flagging this. I am getting the same error.

    @fredericsimard @davidgamez Could you please look into it? Likely related to yesterday's PR #222.

    To reproduce: https://gbfs-validator.mobilitydata.org/validator?url=https://careem.publicbikesystem.net/customer/gbfs/v3.0/gbfs.json

    Thank you,
    Fabien (MobilityData)

  2. moved this to Requires investigation in Bug triageon Nov 24, 2026
  3. moved this from Requires investigation to In Progress in Bug triageon Nov 24, 2026
  4. moved this from In Progress to Done in Bug triageon Nov 24, 2026
  5. richfab commented on Nov 24, 2026

    @richfab
    Contributor

    Hi @clementcitiz,

    The issue has been fixed now :)

    Thank you for letting us know!

    Fabien (MobilityData)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions