Problem with the properties file that is not translating the CGI script when executing under apache in a scenario that is failing.
WebServer received the script header as Status: OK xxxxxxxxxxxxxxxxxxxx" Apache parses this Header string to get the response code by doing atoi() conversion. when atoi() is using this String it is resulting status 0, that is the reason for the Invalid Error.
Properties file mis-configured for APS Admin return status code: webagent/samples/APS_Translation_Files/APSAdmin.properties
HTTP Status/Error Returns
## HTTP Status/Error Returns
SM-APS-12200 = OK
This bug will be addressed in future release - change to the properties file
Modify file: webagent/samples/APS_Translation_Files/APSAdmin.properties
Find line:
## HTTP Status/Error Returns
SM-APS-12200 = OK
change to:
## HTTP Status/Error Returns
SM-APS-12200 = 200 OK