Are you able to modify the script in prod then submit a new item to troubleshoot this?  You'll need to add log lines throughout the script, and maybe comment out a certain line at a time until you see what is causing the error.