We recently had an issue with some course IDs changing and affecting another program. What is the source of the course ID which appears in the URL at the top of the page? Is that generated in Canvas? Or is it pulled from the system that puts courses in Canvas, in our case that's Colleague?
If I can find that answer, I may be able to find out how and why that value was changed.