Zigbee zha.issue_zigbee_cluster_command in automation

Hi,
I’ve got a zigbee ir device and I’ve managed to read ir code and send it through the “manage zigbee device” menu in ZHA, but i can’t seem to make it work as an action in home assistant
The yaml for the script is:

sequence:
  - action: zha.issue_zigbee_cluster_command
    metadata: {}
    data:
      cluster_type: in
      ieee: 70:c5:9c:ff:fe......
      endpoint_id: 1
      cluster_id: 57348
      command: 2
      command_type: server
      args:
        code: >-
          Bs4WagZUAh5gAYAHgA9AC+ANAwNqBh4CQAEBagZACwNUAh4C4BEDwB8CagYeIANAB4ADAx.......
alias: .... Turn Off Dumper
description: ""

It works fine from the manage device, but I’m getting an error “Failed to perform the action script/…_ir_turn_off_dumper. ‘code’”.
Tried everything I could think of…
See images attached


My IR script is almost identical, and works well:

alias: TV remote standby
sequence:
  - data:
      cluster_type: in
      ieee: f0:82:c0:ff:fe:f6:56:4a
      endpoint_id: 1
      command_type: server
      cluster_id: 57348
      command: 2
      params:
        code: >-
          BTsjGRI+AuALAQPlBj4CQAFAB+ALA0ABQBfgAwFAD8AD4AMB4BMTQBsF/507IykJIAcA/+ACBwIJPgI=
    action: zha.issue_zigbee_cluster_command
icon: mdi:remote
mode: single

The only difference I can see is that I’ve got the code in params rather than args.