Freshcaller Logo freshcaller

Start a new topic

Getting error with request in server method invocation

Hello,
I'm using server method invocation to retrieve data from freshdesk groups API. It was working nice, but suddenly without any changes local frsh run server at the moment of processing request started to crash with error
{ Error: getaddrinfo ENOTFOUND repsai repsai:443

    at errnoException (dns.js:28:10)

    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

  code: 'ENOTFOUND',

  errno: 'ENOTFOUND',

  syscall: 'getaddrinfo',

  hostname: 'repsai',

  host: 'repsai',

  port: 443 }
And I'm totally stuck with this. Thanks for help


Hi michael, ENOTFOUND error means the domain that you are trying to reach is unavailable or wrong. Also from the above logs i can infer that you are trying to make a call to repsai domain, can you check if the url that you are trying to request is correct.

Hi Michael,

Please share your app code, we can help you better


Thanks

Mahesh

Login or Signup to post a comment