The original record
Exactly as received, with the source and the file or batch it came in.
A rejected record should say what failed, why, and how to fix it. What to capture so rejects get resolved, not ignored.
A well-built pipeline rejects records that fail its checks rather than loading bad data. That’s the right decision, but only half the job. A reject table holding a copy of the row and the word “error” tells nobody what to do. It grows quietly, and the missing records show up months later as a gap in a report.
Exactly as received, with the source and the file or batch it came in.
A plain name such as “unknown product code”, not a database error number.
The field and value that broke the rule, so nobody has to search the record.
The time and the run that rejected it, to link rejects to changes.
Open, fixed, replayed, or ignored, with a reason for anything ignored.
Step 1 of 4
Fifty records with one unknown product code are one problem, not fifty.
Product data to whoever maintains products, customer data to the sales office.
Correct the data where it was entered, so it doesn’t happen again.
Reprocess the fixed records and mark them resolved.
A pipeline that runs without errors can still reject half its input. Track how many records each run rejects, by rule, and alert when it rises. For example: rejects for invalid VAT codes jumping from none to dozens on the day a supplier changes their file format points straight at the cause.
Tell us how your pipelines handle bad records today. A few lines are enough.