Error message when I start play

I just recorded an album and when I try to play it from the project I receive the following error

“timestamp”: 1630536295,
“event_id”: “379e63210cae4543b1a57951fc7a183e”,
“platform”: “native”,
“release”: “audacity@3.0.4”,
“contexts”: {
“os”: {
“type”: “os”,
“name”: “Windows”,
“version”: “10.0.19043”
“exception”: {
“values”: [
“type”: “Error”,
“value”: “Error opening sound device.\nTry changing the audio host, playback device and the project sample rate.”,
“mechanism”: {
“type”: “runtime_error”,
“handled”: false

This only occurs sometimes. I can usually fix it by restarting Audacity.

Looking at the version of your operating (“version”: “10.0.19043”). It might be a good idea to open WINDOWS UPDATE and check for updates. After bringing Windows up to date, see if this resolves the problem. If not post again on this forum with as much details as possible.

I checked windows and it says it is up to date.
These are the steps:
I record an album
Save project
select all
effect normalize
edit Metadata
start play
Then I receive the error message
I save the project restart Audacity and then all is good