Exportd with script arguments

Hi all

I am trying a workaround for the creation of the OpenNMS requisition creation through the onmsctl tool.

I’ve downloaded and installed the tool and i am trying to call it through the ExternalSystemExecuteScript.

The command i am trying to use is the:
onmsctl inv req add Requisition_Name

I’ve created the match condition and tried to call the script through the following:

As i have understood the script will be called and at the end it will append the following:

The type I am using has the following definition:

I’ve also created the json file to allow DataGerry to run the script, however i am getting some errors which do not provide much info e.g.

Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][WARNING ] — unexpected char ‘“’ at 9 (exporter_base.py)
Nov 8 17:25:29 cmdbsrv datagerry: [2020-11-08 17:25:29][ERROR ] — Extra data: line 1 column 18 (char 17) (service.py)

Any help will be appreciated.

Hello,
True, i have the same error for a long time ago and it is from exportd jobs
example:

Errors

[2021-02-23 10:58:27][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:30][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:30][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:31][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:31][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:32][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:32][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:33][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:33][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:34][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:58:52][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:07][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:07][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:13][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:18][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:22][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:27][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:27][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:36][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:36][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:55][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 10:59:55][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:06][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:06][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:06][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:12][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:15][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:22][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:26][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:36][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:42][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:43][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:43][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:00:47][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:01:06][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:01:19][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:01:19][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:01:23][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:01:23][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)
[2021-02-23 11:01:34][ERROR ] — type object argument after ** must be a mapping, not NoneType (template_data.py)