On-confirm unknown error occured

Hi @IntegrationSupport, Currently we are at on-confirm APIs, In that we are sending the request like this

method : ‘post’,
url : 'https://dev.abdm.gov.in/gateway/v0.5/links/link/on-confirm’,
data : ‘{
“requestId”:“0508aed9-f410-4a7c-b969-5ebb32826789”,
“timestamp”:“2024-01-04T05:10:46.717000”,
“patient”:{“referenceNumber”:“priyavelu@sbx”,“display”:“requested Contexts for priyavelu@sbx is given”,
“careContexts”:[{“care_contexts”:{“display”:“IPD Records Jan3”,
“referenceNumber”:“new_IPD_visit_001”}}]},
“error”:{“code”:0,“message”:“string”},
“resp”:{“requestId”:“8794ead6-d685-4edf-82c3-ed156456d667”}}’
}

but in the PHR app we got unknow error occured message if we send the same request without the error object “error”:{“code”:0,“message”:“string”}, it shows the linked context but it comes as empty.

Hi
Try by removing the error code in payload and reduce the length of display message