Did you check the log file? There should be log lines containing stderr: and stdout: that show the standard error and output streams from your process. That should give some clue as to what went wrong in the script, such that it returned an error status.