Hi Team,
@IntegrationSupport @prabhat @Jivanhealthcenter
We are getting “Unknown error occurred” error in /v0.5/consent-requests/on-init, please check it
/v0.5/consent-requests/on-init payload:
{‘requestId’: ‘afac9f4f-51b3-4a99-bba3-3f71c085d205’, ‘error’: {‘code’: 2500, ‘message’: ‘Unknown error occurred’}, ‘timestamp’: [2023, 9, 6, 3, 14, 9, 102099000], ‘resp’: {‘requestId’: ‘71b04df0-4c63-11ee-b96d-0242ac130005’}}
/v0.5/consent-requests/init payload:
{‘requestId’: ‘71b04df0-4c63-11ee-b96d-0242ac130005’, ‘timestamp’: ‘2023-09-06T03:14:08.791762’, ‘consent’: {‘purpose’: {‘text’: ‘Care Management’, ‘code’: ‘CAREMGT’}, ‘patient’: {‘id’: ‘arpitjainhiutest’}, ‘hiu’: {‘id’: ‘123123’}, ‘requester’: {‘name’: ‘Dr Arpit Jain’, ‘identifier’: {‘type’: ‘REGNO’, ‘value’: ‘12312’, ‘system’: ‘https://www.mciindia.org’}}, ‘hiTypes’: [‘Prescription’], ‘permission’: {‘accessMode’: ‘VIEW’, ‘dateRange’: {‘from’: ‘2023-08-06T00:00:00.000000’, ‘to’: ‘2023-09-06T00:00:00.000000’}, ‘dataEraseAt’: ‘2023-10-07T00:00:00.000000’, ‘frequency’: {‘unit’: ‘HOUR’, ‘value’: 1, ‘repeats’: 0}}}}
Thanks,
Arpit
CliniQ360