Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  PureCloud API error

    Posted 11-01-2021 12:35
    No replies, thread closed.
    I got exception below when calling API ping, it happened only one time. Any idea?


    Exception when calling TelephonyProvidersEdgeApi->get_telephony_providers_edge_diagnostic_ping: (404)
    Reason: Not Found
    HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json', 'Content-Length': '220', 'Connection': 'keep-alive', 'Date': 'Sat, 30 Oct 2021 01:19:47 GMT', 'ININ-Correlation-Id': 'xxxxxxxx', 'Strict-Transport-Security': 'max-age=600; includeSubDomains', 'Cache-Control': 'no-cache, no-store, must-revalidate', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 xxxxxx.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'IAH50-C1', 'X-Amz-Cf-Id': 'xxxxxx=='})
    HTTP response body: {"message":"Network diagnostic not found for the command: PING for edge : xxxxx","code":"not.found","status":404,"contextId":"xxxxxx","details":[],"errors":[]}
    ​

    #Ask Me Anything (AMA)
    #Integrations

    ------------------------------
    Ighor Toth
    ------------------------------


  • 2.  RE: PureCloud API error

    Posted 11-02-2021 03:35
    Edited by Matt Lawson 05-09-2022 09:30
    No replies, thread closed.

    My guess it happened if you sent a 'GET' request  before sendng a 'POST' with a host IP to /api/v2/telephony/providers/edges/{edgeId}/diagnostic/ping

    Otherwise the 'GET' call will return 404 (as there's no known host to ping).

    Hope that helps