This problem has been discussed 2 times in this forum, one time in the german part of the forum.
[X] WAV file cannot be opened for writing
Taggen von Wave-Files
In both cases the cause was a non standard wave-file.
It seems that there is software that does not creeate full standard wave-files.
Test if rewriting the wave-file with ffmpeg or Audacity solves the problem.