Return headers with errors for endpoints that are accessed programatically from KanbanMail