cannot connect to API output of dataprocessor (Wordpress 5.4.12 CIVICRM 5.51 Dataprocessor 1.59)
i have created a dataprocessor which the Search/Report output correctly gives the expected result. however, after a corresponding API output is created, the APIv3 explorer sees the new API entity (Eventstats) created by the dataprocessor but would only have getactions as the only action. The API Action Name specified in the API Output form of Dataprocessor is not displayed. When I used the explorer to execute the new entity.getactions anyway, it would return the following:
{
"is_error": 0,
"version": 3,
"count": 1,
"id": 0,
"values": [
"getactions"
],
"deprecated": {
"setvalue": "The \"setvalue\" action is deprecated. Use \"create\" with an id instead.",
"update": "The \"update\" action is deprecated. Use \"create\" with an id instead."
}
}
if the API entity is externally called with the action specified in the API Output form, the following error is returned:
API (Eventstats, get) does not exist (join the API team and implement it!)
I used to encounter similar situations in earlier in 2021 where the API output created only comes alive after i disable and reenable the Dataprocessor extension. However, this time round it doesn't work. Any advise? Thanks.