If I’m not wrong, yum checks all the repos to build the cache. The error refers to that repo file so it seems the file could have been corrupted. If you post the content of that file we can see what’s wrong.

The file contents are wrong. It seems when you used curl to download the repo file it failed to find it (maybe a missing letter or something of that sort).
If you are using Microsoft SQL Server, you can recreate it as instructed above.
It should look like: