API and UI mismatch

Jump to solution
DanielLim
Community Explorer

Has anyone encountered a mismatch in the data one sees via the Canvas UI and the data one fetches via the Canvas API? I'm trying get the due dates of assignments in a course and am finding, via the API, that one of the assignments has no due date (None). But when I look up this assignment via the Canvas UI (*.instructure.com/courses/1664/assignments/192706) there's a due date.

Is this a syncing issue? Shouldn't the UI and the API extract data from the same source?

Labels (3)
0 Likes
1 Solution
chriscas
Community Coach
Community Coach

Hi @DanielLim,

I wonder if perhaps "overrides" are coming into play here?  Those are where the due date varies by section/user/etc, and are retrieved via API at /api/v1/courses/:course_id/assignments/:assignment_id/overrides.  Aside from that nuance around the dates, I don't think I've come across a scenario where the API and the UI have a total mismatch.

-Chris

View solution in original post

0 Likes