Hi
I've created an endpoint to generate a token using the instructions I found online.
I use a https request in Nodejs, i've tried both GET and POST. It works fine on my navigator but i keep getting the same error from my terminal console or from lambda functions:
{ Error: socket hang up
at createHangUpError (_http_client.js:323:15)
at TLSSocket.socketOnEnd (_http_client.js:426:23)
at TLSSocket.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19) code: 'ECONNRESET' }
Anyone knows what's going on ? Do i need to whitelist the domain or something?