I have code that fetches a list of students in the course using the following endpoint:
CANVASURL:443/api/v1/courses/COURSEID/users?enrollment_type[]=student&enrollment_state[]=active&per_page=100
Previously I would receive student data that looks like this:
{ id: '12345', name: 'John Doe', created_at: '2020-08-07T12:34:24-07:00', sortable_name: 'Doe, John', short_name: 'John Doe', sis_user_id: 'STU_7479905', integration_id: null, login_id: 'johndoe@johnny.org', email: 'johndoe@johnny.org' }
Suddenly, without changing anything, I am getting the same data except the sortable_name does not have a comma in it. Which is massively throwing things off with the application I have setup.
Any idea why this is suddenly happening? I can't imagine that Canvas would suddenly change the API to have it return sortable names without commas