I ran into this same issue running python scripts from the commandline.
Turn out it was caused by me running with the -Unattended flag enabled, when I removed the flag it fixed the issue!
I ran into this same issue running python scripts from the commandline.
Turn out it was caused by me running with the -Unattended flag enabled, when I removed the flag it fixed the issue!