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 Type | Definition |
|---|---|
| MISSING_INFO | missing at least one required field |
| INVALID_INFO | the data does not match the expected value |
| RX_EXPIRED | the prescription is expired |
| SPEC_MISMATCH | the data fields do not match the expected specifications |
| DUPLICATE_REQUEST | a request has already been submitted |
| OTHER | For 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"
}
}