API error messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just added an idea that the error messages returned by API calls should be more explanatory, or at least more precisely related to the actual error. I just went through several days fighting with an enrollment call because it returned a 404 (Page Not Found) with a message text of "resource not found". In fact, the userid I was passing in was wrong, but the message had me running in circles about why the *call* was wrong.
The idea is still in review as of this post, but once it's possible to upvote it, I would love to have people do so if you agree that better error messages would save time for developers and make the API more approachable by new Canvas users.
https://community.canvaslms.com/ideas/15403-api-show-meaningful-error-messages