Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

the ability to obtain the secondary statuses for users in our Genesys Pure Cloud adapter.

  Thread closed by the administrator, not accepting new replies.
  • 1.  the ability to obtain the secondary statuses for users in our Genesys Pure Cloud adapter.

    Posted 11-14-2023 07:31
    No replies, thread closed.

    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.
    ------------------------------


  • 2.  RE: the ability to obtain the secondary statuses for users in our Genesys Pure Cloud adapter.
    Best Answer

    Posted 11-14-2023 14:04
    No replies, thread closed.

    presence:presenceDefinition:view is Division Aware...

    Are there multiple Divisions in the organization? Is that presence assigned to a Division the user is not assigned on the Role that gives them the permission?



    ------------------------------
    George Ganahl GCP (Genesys Cloud)
    Principal PS Consultant
    Genesys
    ------------------------------