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

Enricher logs unnecessary line while validating date-time fields - "[ERROR] com.networknt.schema.DateTimeValidator - Invalid date-time: Invalid timezone offset: 123" #835

Open
marcin-j opened this issue Nov 24, 2023 · 0 comments

Comments

@marcin-j
Copy link

marcin-j commented Nov 24, 2023

Project: Stream Enrich

Version: 3.8.2

Expected behavior:

Enricher should mark the event as invalid and not log anything.

Actual behavior:

Enricher marks the event as invalid, but also logs the error to the console:

[ERROR] com.networknt.schema.DateTimeValidator - Invalid date-time: Invalid timezone offset: 123

Steps to reproduce:

  1. Run the Enricher either in the AWS pipeline or in snowplow-micro, the logging happens in both scenarios
  2. Prepare an event with a date-time field. For example the com.snowplowanalytics.snowplow/consent_granted event.
  3. Set data to {"expiry": "2022-02-03T11:47:43.123"} (value taken directly from this issue).
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