Visual Builder

Get Involved. Join the Conversation.

Topic

    Mohana Gopal Selvam
    Network ErrorAnswered
    Topic posted August 18, 2019 by Mohana Gopal SelvamSilver Crown: 22,500+ Points, tagged REST 
    35 Views, 8 Comments
    Title:
    Network Error
    Content:

    Hi,

    I have tried to create one Service Connection (Rest API - without credentials) in Digital Customer Service (DCS). I have configured the connection and set the static url parameters. But when I tried to test my connection I got the network error.  

    API URL: https://xx.xx.xx.xx/apps/PortalBalance?cust_account_id=14984

    {
        "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
        "title": "Network Error",
        "detail": "Please check the JavaScript console to see more details."
    }

    Can we not create the API which has 'No authentication'? Anyone facing this kind of issue before?

    Thanks,

    Mohan

    Best Comment

    Sunil Polineni

    Hi Mohan,

    You should be able to do it.
    https://blogs.oracle.com/shay/working-with-rest-post-and-other-operations-in-visual-builder

    Can you check your console log to check what is the exact request it is trying to invoke you can check it in developer tools and see if there is any issue with url.

    Also check if you can invoke this url outside of vbcs from browser or postmant --etc.

    Regards
    Sunil

    Comment

     

    • Sunil Polineni

      Hi Mohan,

      You should be able to do it.
      https://blogs.oracle.com/shay/working-with-rest-post-and-other-operations-in-visual-builder

      Can you check your console log to check what is the exact request it is trying to invoke you can check it in developer tools and see if there is any issue with url.

      Also check if you can invoke this url outside of vbcs from browser or postmant --etc.

      Regards
      Sunil

      • Mohana Gopal Selvam
        Hi Sunil,
        
        Thanks for your response.
        
        I can able to test this API in ICS.
        
        How to check the log in Digital Customer Service?
        
        Please note, I have given DCS and ICS IPs to my customer to whitelist.
        
        Thanks,
        Mohan
        
    • Mohana Gopal Selvam

      Hi Sunil,

      Now I have tried to connect the Service Connection in OIC- Visual Builder. I am facing the same issue. But the same API is working in OIC - connection.

      Thanks,

      Mohan

    • Mohana Gopal Selvam

      Please find the screenshot

      Error:

      vbdt/services/api/executor/EndpointExecutor: {"stack":"Error: Please check the JavaScript console to see more details.\n at https://dpw-dev-pc-dpcrm.integration.ocp.oraclecloud.com/ic/builder/assets_af2607339616e78353c0515733a3908b22db1a07/vbcs.min.js:2359:3362\n at Generator.throw (<anonymous>)\n at d (https://dpw-dev-pc-dpcrm.integration.ocp.oraclecloud.com/ic/builder/assets_af2607339616e78353c0515733a3908b22db1a07/vbcs.min.js:9717:142)\n at https://dpw-dev-pc-dpcrm.integration.ocp.oraclecloud.com/ic/builder/assets_af2607339616e78353c0515733a3908b22db1a07/vbcs.min.js:9717:267","message":"Please check the JavaScript console to see more details.","name":"Error","logData":"Please check the JavaScript console to see more details."} 

    • Mohana Gopal Selvam

      One More screenshot

    • Mohana Gopal Selvam

      Hi Shay,

      Could you help me to resolve this?

      Thanks,

      Mohan

    • Mohana Gopal Selvam

      Hi Sunil,

      Thanks for your support. As per your findings this is related to IP whitelisting of Vendor.

      Thanks,

      Mohan