schema to save errors
save errors