Skip to content

[sentry vsp-oak] EventListenerError: Schema validation failed #83

Description

@sentry

Sentry Issue: VSP-CLERK-3

SchemaValidationError: Object does not match schema
  File "/home/rotunda/src/utils/jsonSchemaValidator/jsonSchemaValidator.mjs", line 48, in JsonSchemaValidator.assertObjectMatchesSchema
    throw new SchemaValidationError( 'Object does not match schema', { errors } );
  File "/home/rotunda/src/events/eventReceiver.mjs", line 64, in #validateSchema
    await this.#jsonSchemaValidator.assertObjectMatchesSchema( value, schema );
  File "/home/rotunda/src/events/listeners/onSubscriptionWillExpireSoon.mjs", line 7, in Object.default
    await this.validateSchema( event, 'listeners/onSubscriptionWillExpireSoon' );
...
(2 additional frame(s) were not displayed)

EventListenerError: Schema validation failed
  File "/home/rotunda/src/events/eventReceiver.mjs", line 66, in #validateSchema
    throw new EventListenerError( 'Schema validation failed', {
  File "/home/rotunda/src/events/listeners/onSubscriptionWillExpireSoon.mjs", line 7, in Object.default
    await this.validateSchema( event, 'listeners/onSubscriptionWillExpireSoon' );
...
(1 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions