Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  3rd party API endpoint from customer fail due to $ in request URL .

    Posted 01-11-2024 08:46
    No replies, thread closed.

    We have received 3rd party API endpoint from customer which contains several "$" in the URL along with expected Input, Emp ID and Genesys Cloud Data Action is asking to initialize this as variable even though it's not.

    I Have created  Genesys cloud Data action for this  integration &  calling "$" provided custom end point in in

    https://{tenant url}/api/odata/businessobject/incidents?$filter=Status eq 'Active'

    Below is the error while testing Data Action .

    "message": "Substitution values invalid in action config. Variable $filter has not been set at UrlTemplate[line 1, column 169]  A common reason for this error is needing to prepend the variable with 'input.' or 'credentials.'",

    Note : - I have API end point in Postman and its working fine . 

    If any one able to help me how to pass the parameter in


    #Implementation
    #Integrations

    ------------------------------
    Laxman Dabade
    TCS
    ------------------------------


  • 2.  RE: 3rd party API endpoint from customer fail due to $ in request URL .
    Best Answer

    Posted 01-12-2024 04:02
    No replies, thread closed.

    Hello,

    You can use %24 instead of $, or you could $esc.url().

    https://help.mypurecloud.com/articles/url-form-encoding-for-data-actions/



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 3.  RE: 3rd party API endpoint from customer fail due to $ in request URL .

    Posted 01-13-2024 02:24
    No replies, thread closed.

    Thanks lot  Jan  , i have encoded the URL using %24 and its working now . !!!



    ------------------------------
    Laxman Dabade
    TCS
    ------------------------------