We didn’t get any script ID sadly! The answer was indeed to disable all scripts and workflows—I just missed one workflow when doing so the first time. The workflow had a saved search criteria using a saved search that was using an invalid field value, so the error was getting passed from the saved search results, through the workflow, all the way to the transaction confirmation.