Report output from API on error.