DEFRA receipt error

EWC code is not a 6-digit numeric code

DEFRA reads an EWC code as exactly six digits with nothing else in it. A code written with spaces, a trailing asterisk or fewer than six digits fails this first check, before DEFRA looks at whether the code exists.

The message DEFRA sends

"wasteItems[0].ewcCodes[0]" must be a valid 6-digit numeric code

The usual cause

  • The code is written as it appears in the List of Wastes, with spaces (20 01 01) or a trailing asterisk (13 01 01*).
  • A spreadsheet dropped the leading zero from a code that starts with 0, so 040221 became 40221.
  • A code from another list, or a typing slip that left too few or too many digits.

How to fix it

  1. Send the six digits on their own, as 200101 and with no spaces.
  2. Leave the asterisk off. DEFRA works out from the code itself whether it is a hazardous one.
  3. In a spreadsheet, format the column as text before you paste the codes in, so a leading zero stays.

Fix the value in your software or spreadsheet, then send the receipt again.

All DEFRA receipt errors

Sources

The message wording and the formats listed come from DEFRA's validator code, version 1.18.0, published under the Open Government Licence v3.0. The causes and fixes are our reading of its rules.

Need the waste code? Look up the right EWC code in the List of Wastes.New to a term? The glossary explains POPs, HP codes, duty of care and the rest in plain English.

Get the next guide by email

We write a plain-English guide whenever the Digital Waste Tracking rules move, and these reference pages get updated with them. Leave your email and the next one comes to you.

We never sell or share your address. See our privacy notice.

Start on the free plan

CarrierNote is on the GOV.UK software provider list, connected to DEFRA's Digital Waste Tracking service. Receiving sites are in scope from October 2026 and carriers from October 2027, and you can be recording to DEFRA's standard from your first load, whenever you start.