Getting Error:( Error in establishing connection) in server.js HTTP request

Hi @Kithiyon ,

Good day!

There are few possible reasons for the same.

  1. Due to request timeout, which is generally 5-10 seconds
  2. Dur to VPN limitation
  3. Due to provider network restrictions - if using a private network and outbound public calls are restricted

Could you please check if there are any such occurring on your end. If not kindly share the HAR logs

Additionally, kindly check this issue which is similar to what you faced.

We generally recommend to use Request Methods. Also there are some sample apps as well.

Regards,
Thakur