I made POST request to : {{CM_HOST}}/consent-requests/{{CONSENT_REQUEST_ID}}/approve. But it is returning consent request Not found.
Response:
{
“error”: {
“code”: 1415,
“message”: “Cannot find the consent request”
}
}
It is returning consent request not found BUT with the same consent-id When I tired to deny it using : {{CM_HOST}}/consent-requests/{{CONSENT_REQUEST_ID}}/deny , it worked.
If my consent-id is wrong then How can I deny the same request with same consent-id BUT can’t approve the same?
Please Help.
Thanks & Regards