You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a simple chargePoint that sends a websocket to the centralSystem. I took the code from the examples and this is where I am facing issues with:
OCPPCommands.BootNotification tries to validate the payload with applyPropertiesValidators and it failed to validate with Joi, specifically on this line:
// node_modules/ocpp-eliftech/node_modules/joi/lib/index.js
Hoek.assert(schema && schema instanceof Any, 'you must provide a joi schema');
This is what schema looks like before it fails the schema instanceof Any validation:
I am writing a simple chargePoint that sends a websocket to the centralSystem. I took the code from the examples and this is where I am facing issues with:
OCPPCommands.BootNotification
tries to validate the payload withapplyPropertiesValidators
and it failed to validate with Joi, specifically on this line:This is what
schema
looks like before it fails theschema instanceof Any
validation:I am not sure if this is a dependency issue or there is something missing on my side. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: