Skip to content

Conversation

@crh23
Copy link

@crh23 crh23 commented Nov 5, 2025

Issue #, if available:

Description of changes:

Current behaviour: Context broker update lambda logs look like

{
  errors: [
    { entityId: 'urn:ngsi-ld:Vehicle:BD74WHB', error: [Object] },
    { entityId: 'urn:ngsi-ld:Vehicle:BD74WJN', error: [Object] }
  ]
}

New behaviour: logs look like

{
    "errors": [
        {
            "entityId": "urn:ngsi-ld:PublicTransportVehicle:MX62GPJ",
            "error": {
                "type": "https://uri.etsi.org/ngsi-ld/errors/BadRequestData",
                "title": "Bad Request Data.",
                "detail": "Invalid date time format found on observedAt",
                "status": 400
            }
        },
        {
            "entityId": "urn:ngsi-ld:PublicTransportVehicle:SK63AUW",
            "error": {
                "type": "https://uri.etsi.org/ngsi-ld/errors/BadRequestData",
                "title": "Bad Request Data.",
                "detail": "Invalid date time format found on observedAt",
                "status": 400
            }
        }
    ]
}

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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

Successfully merging this pull request may close these issues.

1 participant