RestAPI Troubleshooting
The activity cannot be submitted
The message "The activity cannot be submitted" is returned by the REST API in the case that the requested activity (specified in the JSON structure by either the process ID and the action name or by the step ID) does not exist!
No activity found for ID
Please check the hwm_universal_interface_config.php and if the correct URL for the RestAPI is set there! It must be the system on which the RestAPI should create processes, submit activities etc.
Invalid result returned by the execution of the automatic activity
Please check if in the actions the command hos_ctrl_all.php is set!
Failed to initialize a connection to the host
If the RestAPI returns the following message:
Then, most probably, there is an issue with the environment submitted in the data key.
In the following example, the source system in the "items" key was wrong. ENTW_ID is not correct, it must be ENTW_id because this is set in the hosts file to resolve the name to a system.
HWI FATAL ERROR: Missing the main configuration file
When calling scripts from Windows Task Scheduler -> In php.ini include_path = ‘.;[PATH]’ specify additional path to etc. directory and htdocs directory. directory and htdocs directory. This can be checked in a CLU with echo %path%.
Last updated