Skip to content
RegisterBench

W1-103 - The package zip must be consistent and unzip correctly (Reception)

ESA technical check 103: the package zip must be consistent - checksum, unzips correctly; the measured rejection also names a wrong instance file extension.

Layer
W1a
Category
Reception
Severity
blocking
Taxonomy version
eba-4.0-errata5

Last reviewed:

Content last changed:

Official control text (EBA, verbatim)

ZIP consistency (checksum, unzips correctly).

What this rule checks

On receipt the package zip is opened: the archive must be internally consistent (checksum) and must unzip correctly. The only measured rejection example in the frozen artifacts concerns exactly this check (official feedback samples): instance-status.csv carries feedbackMain,REJECTED and feedbackText,Failed reception check 103: Invalid ZIP file as it contains invalid instance file extension: txt. The offending value in detailed-feedback.csv names a file with the extension txt - which shows that 103 reaches into the contents of the zip (the extension of the instance file), not only into the checksum.

In RegisterBench the zip is assembled by the package writer (class EsaPackageAssembler), which wraps the package content in a deterministic zip (class DeterministicZipWriter). The reverse proof is the round-trip (test class PackageRoundTripTests): the exported package is read back by the product's own reader. On import of a foreign package a corrupted archive becomes an entry of the import problem report, not a crash (class EsaPackageReader).

This is an ESA technical check (layer W1a, severity: blocking). If it fails, the package is technically rejected on receipt (feedbackMain = REJECTED). RegisterBench has no runtime finding for it: the package writer satisfies it by construction, which is proven by golden tests, not by a validation message.

Most common causes

  • The exported zip was edited or repacked after export - the repacking tool wrote a different archive than the writer.
  • The file was truncated or corrupted in transit (an interrupted download, copy or upload) - the archive no longer unzips.
  • A package assembled by another tool carries an instance file under a wrong extension - the measured rejection names the extension txt.

How to fix it, step by step

  1. If the package was exported by RegisterBench and not touched afterwards, this check cannot fail - first check whether the file was repacked, edited or cut short in transfer.
  2. Check locally that the zip opens and unzips correctly; compare the file size with the freshly exported package.
  3. Read the feedback files: the measured rejection carries code 103 in detailed-feedback.csv with the message and the offending file name, and feedbackMain,REJECTED in instance-status.csv.
  4. Do not repair the archive by hand - export the package again from RegisterBench and submit the fresh zip.

Example: fails vs passes

Fails - the measured rejection from the official feedback samples:

Feedback file Content
detailed-feedback.csv ,,,103,Invalid ZIP file as it contains invalid instance file extension: txt,549300Q5EH2NP82EPE32.CON_BE_DORA010100_DORA_2025-03-31_20250402120441498.txt
instance-status.csv feedbackMain,REJECTED

Passes - the measured official sample package:

Package Result
DUMMYLEI123456789012.CON_FR_DORA010100_DORA_2024-12-31_20241213174803429.zip a consistent zip; unzips into a single top-level directory named after the package, which contains META-INF/ and reports/ with the csv and json files
  • 101 - the extension of the package file itself must be zip; the measured 103 rejection concerns the extension of a file inside the archive.
  • 115 - the package must be a zip containing plain-csv; 115 speaks to the structure of the contents, 103 to the archive being readable at all.
  • 306 - once the zip opens, the files inside must decode as UTF-8.

This page describes what the software does. It is neither legal advice nor an interpretation of any regulation, and using the product does not by itself make any submission complete, correct or acceptable to any authority. The responsibility for what is filed stays with the entity that files it.