error code 9996 - all fixes tried

I’m getting an Error code 9996 continually when I go to use Audacity- ive tried all the normal fixes and nothing works, despite it working perfectly in the past. The interface is a Presonus Audio Box TWO (seems to be working fine) and I’m running Windows 10. the 3 section Audacity number is 3.1.3.
I recently loaded Akai MPK mini midi controller - could that have had some effect on Audacity