I guess it's too late now but I hope it'll still be useful. According to the documentation, if you try to fetch assignment details with a user who isn't enrolled into the course, you should add the following argument : includenotenrolledcourses=1
Fetch assignment details for a course, including due dates.
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.