Torchaudio.load not working as expected

The dataloader script is working fine with all audio files but for a few audio files, the torchaudio.load is saying that it cannot load file. But, when I try using torchaudio.load separately and try to load the same file, then its working. Please help

Could you post the error message which indicates the loading fails?