can you try running the script with the relevant GRAM command line tool (globus-job-run or globusrun-ws depending on if you are using the gt2 or gt4 provider in swift) to bisect the problem. --