I am facing the same issue. I have tried creating the script manually and uploading it via the CLI - the result is the same.
I have tried converting the script ot a .py file to no avail - the same persists.