What’s the pymongo driver version you’re using and what’s the full error message being generated?
Regards, Jason