We're trying to switch a sis_import to use multi_term_batch_mode instead of batch_mode. It appears to work. However, we get two errors that I'm trying to figure out in case I'm missing something.
1) It is 100% complete, but has a "workflow_state": "aborted". All three files we upload, courses.csv, enrollments.csv, and users.csv are marked as "upload_status": "success".
2) There is an errors_attachment with a file. The final error is: "Terms not found. Terms must be included with multi_term_batch_mode". But, I can't find any explanation of this error. The terms are defined in Canvas. Everything seems to work--the courses, enrollments, and users are all added.
Thanks for any insight,
Solved! Go to Solution.
I'm interpreting this sentence under the "Multi Term Batch Mode" heading: "Multi term batch mode is run against all terms included in the same import for the batch" (this is a very generic statement and should probably be improved in the future). Then also the final error message you're receiving: "Terms not found. Terms must be included with multi_term_batch_mode". The SIS Import API documentation also states the following: "multi_term_batch_mode boolean Runs batch mode against all terms in terms file. Requires change_threshold." All of those together lead me to believe you need the terms file to be included in your batch for the multi term batch mode to correctly operate. I could be wrong, but I strongly suspect this is the case.