It sounds familiar but I honestly don’t recall what caused it.
What’s your workflow to prompt the error right now?
Do you have a specific pdm add-in that you’ve added/updated recently?
Future version issue. I was using new 2022 files with PDM 2021.