Draft - pending technical reviewOwner PDR Engineering (owner to be confirmed)
Troubleshooting
Work from the network up
- Connectivity and TLS first. Confirm your environment can reach the OpenAPI endpoint with normal certificate and hostname validation. See the connectivity check.
- Source IP. Gateway access is restricted by source IP. Confirm the public egress IP you tested from is the one that was allowlisted for that environment.
- Trust store. Validate the chain to the X9 root and the requested hostname. Do not pin the leaf certificate, which rotates.
- Authentication. Only debug OAuth once the connection succeeds. See Authentication.
A query returned no documents
An empty result is not necessarily a failure. A successful query for a patient with no matching documents returns HTTP 200, status: OK, Bundle.total of 0 and an empty entry. Treat that as a valid result, distinct from an API or authentication failure. A reproducible example is in QA scenarios.
Unexpected duplicate or missing documents
If a NYeC match returns several result rows, process the alias rows after results[0] and deduplicate on QE + documentUri. See Matching & Part 2.
Part 2 documents are missing
Part 2 content is only requested when part2: true. See Matching & Part 2.
Documentation gap
Gateway error status codes and response bodies, rate limits and support escalation paths are not covered by the source material. Record confirmed behavior here after PDR engineering review.