I think they both need fixing.. they need to use this HubAction constructor:
HubAction(String request, Protocol protocol)
documented here: HubAction Object - Hubitat Documentation
and Protocols are documented here: Protocol Object - Hubitat Documentation