I got the exact same error.I was using mlflow through Dagshub. Solved this error by changing the tracking_uri of mlflow by changing the repository in dagshub. I think something was wrong with the repository that's why this error was arising.