For importing, Audacity natively supports “Microsoft PCM WAV”, Aiff, MP3, Ogg and FLAC.
I would suspect that the files that you are trying to import are either not real WAV/MP3 files, or are damaged.
There is a free program called “MediaInfo” that can analyse audio files and provide in-depth information about the format.