Closed lsloan closed 1 year ago
While working on this issue, I found that the errors returned from the Canvas API about LTI tools in course 40857 are…
{"errors":[{"field":"conclude_at","message":"End date cannot be before start date","error_code":null}]}
This is the same error that @jonespm saw when he accessed the course manually.
When the exceptions are caught and handled, they will be logged as…
2023-10-17 13:49:40,649 | WARNING | api:86 | HTTP 422: PUT https://umich.beta.instructure.com/api/v1/courses/40857/tabs/context_external_tool_15593?hidden=false&position=44; response: '{"errors":[{"field":"conclude_at","message":"End date cannot be before start date","error_code":null}]}'
2023-10-17 13:49:41,266 | WARNING | api:86 | HTTP 422: PUT https://umich.beta.instructure.com/api/v1/courses/40857/tabs/context_external_tool_37063?hidden=true; response: '{"errors":[{"field":"conclude_at","message":"End date cannot be before start date","error_code":null}]}'
Did you get the error message when accessing the course site via Canvas beta UI?
No, just when accessing a specific API to change tools in navigation on this course. This is some really old course that seems like it might have a data problem. We've avoided trying to fix it as we don't know if we could easily recreate the issue.
Handle errors like…
That error appears when the app is run with these parameters…