course-migration.py script

@nasthagiri 
What if there are other response errors returned?