diff --git a/ocpp/charge_point.py b/ocpp/charge_point.py index a8d3c5da5..863010db4 100644 --- a/ocpp/charge_point.py +++ b/ocpp/charge_point.py @@ -204,6 +204,7 @@ async def _handle_call(self, msg): handlers = self.route_map[msg.action] except KeyError: _raise_keyerror(msg.action, self._ocpp_version) + return if not handlers.get("_skip_schema_validation", False): validate_payload(msg, self._ocpp_version)