Consent revoke is not changing status of consent on Sandbox and Production

Hi @Shubhanshu_S,

(1) We are trying to revoke the granted consent. we are getting statuscode 200 in the response. but status of consent doesn’t change. (2) If we try to revoke it again. It shows “Consent is not in Granted status”

(1) API URL : https://dev.abdm.gov.in/cm/consents/revoke

Request : {“consents”:[“0a2f4dc1-ced9-4707-ac02-f0853505f2ce”]}

Response : [Blank]
StatusCode : 200

(2) API URL : https://dev.abdm.gov.in/cm/consents/revoke

Request : {“consents”:[“0a2f4dc1-ced9-4707-ac02-f0853505f2ce”]}

Response : {“error”:{“code”:1428,“message”:“Not a granted consent.”}}

StatusCode : PreconditionFailed

Thanks

@Hemant - can you please share the APIs payload and its response?

Note: Please mark @IntegrationSupport in all the raised concerns so that team can reach out to you.

@Shubhanshu_S @IntegrationSupport

(1) We are trying to revoke the granted consent. we are getting statuscode 200 in the response. but status of consent doesn’t change. (2) If we try to revoke it again. It shows “Not a granted consent.”

(1) API URL : https://dev.abdm.gov.in/cm/consents/revoke

Request :
{“consents”:[“f94ff798-293d-4058-962f-59babba44c34”,“b5e3dcf3-6d80-4e8e-89ec-aa78963ad86a”,“fb9bbf10-836f-470f-ae4f-8dead874dce7”,“e3e79e17-ac1a-4f8c-8574-2514a72ee9de”,“bb32a324-3545-4f3f-9169-5d68b059344a”,“9ece1dd7-c685-4595-ab15-ab9a69177e8b”]}

Response : [Blank]
Status Code : OK

(2) API URL : https://dev.abdm.gov.in/cm/consents/revoke

Request :
{“consents”:[“b5e3dcf3-6d80-4e8e-89ec-aa78963ad86a”,“fb9bbf10-836f-470f-ae4f-8dead874dce7”,“bb32a324-3545-4f3f-9169-5d68b059344a”,“f94ff798-293d-4058-962f-59babba44c34”,“e3e79e17-ac1a-4f8c-8574-2514a72ee9de”,“9ece1dd7-c685-4595-ab15-ab9a69177e8b”]}

Response : {“error”:{“code”:1428,“message”:“Not a granted consent.”}}

Status Code : PreconditionFailed

@Hemant, Is any other flow failing other than this scenario ?

If no, then please share the recording link for M1, M3 flow.
Parallelly, we will take this for resolution (ticket already raised with tech)