Delegate error handling to the application

Call out to a separate endpoint to report the errors.
Remonve unneeded tests