Error Code -9986 Internal PortAudio error

What is your input device?
Have you given Audacity permission to use the audio input device? See https://forum.audacityteam.org/t/no-recording-level/51788/1
– Bill