You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This page covers the first hop: the raw numeric code a hosted Office of First Filing's (OFF) TDA/PDX system sends back to WIPO DAS when DAS forwards it a live retrieval or registration-acknowledgement request.

An OSF / REST API caller never sees these raw TDA/PDX codes directly. DAS always translates them before they go any further — see 5.1.2.- Responses from DAS to OSF via notification endpoint and 5.1.3.- Responses from DAS to OSF via GET for what actually reaches the caller.

Source of truth (code, not documentation): - das-app/src/app/das-tda-error-messages.ts — literal TDA/PDX message text - das-app/src/app/das-error-code-mappings.ts — the tdaSystemCodes[] arrays that map a TDA code to a DAS canonical message - das-app/src/app/das-error-codes.ts — the 6 top-level errorCode categories

TDA/PDX code → DAS canonical message

TDA/PDX codeStatus typeTDA/PDX meaning as suppliedDAS canonical messageDAS sub-codeDAS errorCode categoryNotes
0FWA-status, PDX-statusNo Error / SuccessfulSuccessful.0SUCCESScode 0 is reused for 0 / 14 / 15
1FWA/PDX/DAS-statusApplication number provided was not foundApplication number provided was not found.-4, -7, or -5 (see note)INVALID_INPUT_DATA or OPERATION_FORBIDDEN⚠️ Overloaded: the backend reuses TDA code 1 for three different outcomes depending on internal context: generic invalid input (-4), "document not found" (-7), and "document withdrawn" (-5, under OPERATION_FORBIDDEN)
2FWA-status, PDX-statusFile is not availableFile is not available. (security clearance not granted)-8OPERATION_FORBIDDEN
3PDX-statusDocuments was not foundDocument(s) was not found.-9OPERATION_FORBIDDEN
4FWA-statusDocument content could not be retrieved—(not mapped)(none)Not wired up in code; probably unused, as TDA 3 covers the same situation
5PDX-statusNot published, no authorization to permit access filedFile is not available to the public, and no authorization to permit access has been filed.-6OPERATION_FORBIDDEN
6FWA-statusDelay in translation—(not mapped)(none)Not wired up in code; probably never used (do not confuse with code -6 below, which is a different, negative code)
-6(missing from the original table entirely)XML output processing failure (reused as a generic technical-error code)Duplicate document received / File already uploaded and registered-1 or -107INVALID_INPUT_DATA or OPERATION_FORBIDDEN⚠️ Actively used by the backend for two different outcomes (duplicate document vs. already-registered file), but was never documented on the old matching table
7PDX-statusOversize document/CD will be mailedOversize Document – CD will be mailed.-201OPERATION_IN_PROGRESSSee 5.1.2 — no EDI translation exists for this code, so it isn't actually forwarded via the notification webhook today
8FWA-statusRequest less than 1000 pages per transaction—(not mapped)(none)Not wired up; probably unused — TDA code 7 is reported instead
9DAS-statusRegistered—n/an/aDAS-internal status only, not a counterpart reply code from an OFF
10DAS-statusNot Registered—n/an/aDAS-internal only
11PDX-statusDas Access Code invalidACC invalid.-4INVALID_INPUT_DATA
12PDX-statusRequest under processing, response sent laterThe request is under processing, the response will be sent later.-202OPERATION_IN_PROGRESSCode comment marks this "obsolete now... not implemented on DAS side, also we don't expect it from TDA side"
13PDX-statusApplication number does not correspond with bibliographic data—(not mapped)n/aRarely used — DAS rejects an OSF request with mismatched data before it would reach this point
14DAS-statusSuccessfully Registered DAS to OFF onlySuccessfully Registered.0SUCCESS
15DAS-statusSuccessfully Updated DAS to OFF onlySuccessfully Updated.0SUCCESS
16DAS-statusDas Access Code and Priority Date did not matchACC and Priority Date did not match.-15INVALID_INPUT_DATA
17DAS-statusPriority Date did not matchPriority Date did not match.-12INVALID_INPUT_DATA
18DAS-statusDas Access Code did not matchACC did not match.-14 or -13 (see note)INVALID_INPUT_DATA⚠️ Overloaded: same TDA code used both for "mismatched access code" (-14) and "missing access code" (-13)
19DAS-statusPriority Date was not provided by OFFPriority Date was not provided by OFF.-13INVALID_INPUT_DATA
-1FWA-fault, PDX-faultSystem not available, scheduled downtimeSystem is not available due to scheduled downtime.-101DAS_SYSTEM_ERROR
-2FWA-fault, PDX-faultSystem not available, back-end problemSystem is not available due to system problem.-101DAS_SYSTEM_ERROR
-3PDX-faultReceived document cannot be importedThe received document can not be imported.-2INVALID_INPUT_DATAResolves to the "invalid document file format" sub-code, not a generic -3
-4FWA-fault, PDX-faultXML input processing failureXML input processing failure-3INVALID_INPUT_DATACovers corrupted file / invalid ST.26 package / checksum mismatch / virus infected
-5FWA-fault, PDX-faultXML output processing failureXML output processing failure-3INVALID_INPUT_DATAUsed specifically for the "file not available" sub-case

Known gaps / things to keep in mind when testing

  1. Overloaded codes (1, 18, -6) can't be told apart just from the TDA code — the real outcome depends on internal state DAS already has about the request. Don't assume a 1:1 mapping when writing test assertions.
  2. Unmapped codes (4, 6, 8, 9, 10, 13) exist in the ST.36/TDA specification but have no corresponding entry in das-error-code-mappings.ts — if an OFF ever sends one of these, DAS has no specific translation for it.
  3. Codes with no onward translation (7, 12) reach DAS but have an empty ediSystemCodes[] entry, meaning there is currently no EDI message to forward to an OSF via the notification webhook (see 5.1.2). Code 12 is explicitly commented as obsolete.
  • No labels