experiencing issues with the following API :
/api/v2/presencedefinitions/{presenceId}
We are getting the presenceId for the above call from each presence event that is received. There is one presenceId which the customer is seeing a 403 forbidden response:
{
"message": "Unable to perform the requested action. You are missing the following permission(s): [presence:presenceDefinition:view:fb171fa9-f11d-42f1-85a5-3a62c6f09bf5]",
"code": "forbidden",
"status": 403,
"contextId": "4bce6385-b7e9-4568-917c-2ece76688a1e",
"details": [],
"errors": []
}
We have confirmed with the customer that they have the required permissions (presence:presenceDefinition:view) and can obtain secondary statuses for other presenceId's. We have also noticed the presenceId which is causing this issue does not exist in the response to get all presence definitions:
/api/v2/presencedefinitions/
Our understanding was that if the presenceId does not exist in the presence definitions, then the response should be 404 not 403. Are you able to advise on why we are seeing this 403 error.
#ArchitectureandDesign#Implementation#API/Integrations#Community Videos (TAM, QA, etc.)
------------------------------
NIKHIL naicker
Verint Systems Inc.
------------------------------