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
ERROR:ocpp:Error while handling request '<Call - unique_id=1000021, action=Authorize, payload={'idTag': '123'}>'
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 283, in _handle_call
handlers = self.route_map[msg.action]
~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'Authorize'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 261, in route_message
await self._handle_call(msg)
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 285, in _handle_call
_raise_key_error(msg.action, self._ocpp_version)
File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 170, in _raise_key_error
raise NotImplementedError(
ocpp.exceptions.NotImplementedError: NotImplementedError: Request Action is recognized but not supported by the receiver, {'cause': 'No handler for Authorize registered.'}
INFO:ocpp:wallbox: send [4,"1000021","NotImplemented","Request Action is recognized but not supported by the receiver",{"cause":"No handler for Authorize registered."}]```
My action handler below:
```@on(Action.Authorize)
async def on_authorize(self_, id_tag):
return call_result.Authorize(id_tag_info={'status': RegistrationStatus.accepted})```
The text was updated successfully, but these errors were encountered:
chheunpheara
changed the title
Authorize not Implemented Error
Authorize NotImplemented Error
Jun 20, 2024
I have an issue with AuthorizeRequest as bellow
The text was updated successfully, but these errors were encountered: