Last updated

Error Handling

For unsuccessful processing, return an ERROR response type in the response metadata.

These error types will not be automatically retried. Our team will troubleshoot and resend the request once the issue is resolved.

Error Types

Use the following to specify the error type.

Error TypeDefinition
MISSING_INFOmissing at least one required field
INVALID_INFOthe data does not match the expected value
RX_EXPIREDthe prescription is expired
SPEC_MISMATCHthe data fields do not match the expected specifications
DUPLICATE_REQUESTa request has already been submitted
OTHERFor any other errors

Provide additional details in the description so we can address the issue effectively.

{
  "requestID": "phil_request_id",
  "metadata": {
    "referenceID": "partner_reference_id",
    "responseType": "ERROR",
    "responseID": "partner_response_id",
    "responseTimestamp": "2024-09-11T12:26:00Z"
  },
  "error": {
    "type": "MISSING_INFO",
    "description": "missing rx daysSupply"
  }
}