Symptoms

I added verification script to application. After that, when trying to install application in CCP, I get FATAL ERROR.

Cause

In most cases, such problem happens because script prints some raw output to STDOUT, while structured-output flag is set in the script declaration in APP-META.xml

Resolution

As soon as structured-output is declared, script must print all debug messages to STDERR. Only valid structured output (xml) should be printed to STDOUT.

Structured output format is described here

If, in some cases, you still want to display raw output to user, make script exist with not zero status, and print your raw message to STDERR.

Internal content