HL7 207 — Application internal error
Code 207 is the catch-all: the receiving application hit an internal error that does not map to a more specific code. The real cause lives in the receiver's application log.
When you see 207 (Error Condition Code)
Raised when processing fails for a reason the receiver cannot (or does not) classify — an unhandled exception, a database error, a null-reference bug, or any unexpected internal failure.
Common causes
- An unhandled exception or bug in the receiving application's message handler.
- A database error (constraint, deadlock, connectivity) during processing.
- Unexpected data that the application's code did not anticipate, despite passing structural validation.
- A downstream dependency of the receiver being unavailable.
How to fix it
- 1207 carries little detail by design — capture the raw message and timestamp and ask the receiving system's team to check their application log for the underlying exception.
- 2If the same message reliably triggers 207, the data exposes a receiver-side bug; share a de-identified copy with the vendor.
- 3If intermittent, treat it like a transient failure and retry, while investigating receiver health.
Example ACK message
A representative acknowledgment carrying ERR-3 = 207. Open it in the HL7 Viewer to inspect every field.
1MSH||^~\&|RECEIVER|HOSP|SENDER|HOSP|20260310143550||ACK^A01^ACK|ACK00027|P|2.5.1 2MSA||AE|MSG00001|Application internal error 3ERR||||207^Application internal error^HL70357|E|||Unexpected error processing message
Related codes
Frequently asked questions
How do I troubleshoot HL7 error code 207?
Code 207 (Application internal error) is a catch-all for an unclassified failure on the receiver. The HL7 message alone rarely tells you why — capture the raw message and timestamp and have the receiving system's team check their application log for the underlying exception.
Debug your ACK in the viewer
Paste the ACK (or original message) and get instant segment parsing, MSA/ERR decoding, and validation. Free, client-side, no signup.
Open HL7 Message Viewer →All HL7 error & ACK codes
Browse every acknowledgment code (Table 0008) and error condition code (Table 0357) with causes, fixes, and examples.
HL7 Error Code Reference →