Courses Upload Error: Could not resolve category by ID

Courses Upload Error: Could not resolve category by ID

by Arafat-Ul Islam -
Number of replies: 1

Unable to upload courses using .csv file with the following column headers:

  • shortname
  • fullname
  • idnumber
  • category

Continue to get the following error "Could not resolve category by ID".


Attachment Screenshot_8.jpg
Average of ratings: -
In reply to Arafat-Ul Islam

Re: Courses Upload Error: Could not resolve category by ID

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
According to the docs ( https://docs.moodle.org/en/Upload_courses ), 'category' should be the database id of the category to add the course to.

Moodle can't find any category records in the database with id "College of Business Administration" (which isn't a number, so is never going to be a database id).