# ECONNRESET error when generating token to get meeting

**URL:** <https://devforum.zoom.us/t/econnreset-error-when-generating-token-to-get-meeting/131955>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [April 25, 2025, 4:13pm UTC](https://devforum.zoom.us/t/econnreset-error-when-generating-token-to-get-meeting/131955 "2025-04-25T16:13:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![felype.fagundes](https://avatars.discourse-cdn.com/v4/letter/f/c67d28/32.png) [@felype.fagundes](https://devforum.zoom.us/u/felype.fagundes)\
**Post date:** [April 25, 2025, 4:13pm UTC](https://devforum.zoom.us/t/econnreset-error-when-generating-token-to-get-meeting/131955/1 "2025-04-25T16:13:55Z")

</div>

When we try to get the Zoom token to get the meeting details via the Rest API, we are getting an ECONNRESET error. This is an intermittent error. Here is the endpoint we call and how we call it within the NodeJS application

[https://zoom.us/oauth/token](https://zoom.us/oauth/token)

async generateToken() {  
try {  
const buffer = Buffer.from(`${client_id}:${client_secret}`);  
const basic = buffer.toString(‘base64’);  
const return = await superagent.post(`${ZOOM_URL_TOKEN}`)  
.send(‘grant\_type=account\_credentials’)  
.send(`account_id=${account_id}`)  
.set(‘Authorization’, `Basic ${basic}`)  
.disableTLSCerts()  
.proxy(HTTP\_PROXY);  
return return.body;  
} catch (e) {  
const error = new BusinessError(‘Failed to connect to [Zoom.us](http://Zoom.us) to generate token’, ‘0004’, 500);  
error.cause = e;  
throw error;  
}  
}

Application error log

12:58:34 0|app | Error: Falha ao conectar com o [Zoom.us](http://Zoom.us) para gerar o token

14269912:58:34 0|app | at ZoomIntegration.gerarToken (/opt/nodejs/server/src/integrations/zoom.js:446:21)

14270012:58:34 0|app | at runMicrotasks ()

14270112:58:34 0|app | at processTicksAndRejections (internal/process/task\_queues.js:95:5)

14270212:58:34 0|app | at async ZoomIntegration.findMeetingById (/opt/nodejs/server/src/integrations/zoom.js:102:19)

14270312:58:34 0|app | at async ReuniaoService.findById (/opt/nodejs/server/src/services/reuniao-service.js:55:21)

14270412:58:34 0|app | at async /opt/nodejs/server/src/routes/api/reuniao.js:44:26

14270512:58:34 0|app | Caused by Error: read ECONNRESET

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 29, 2026, 7:50am UTC](https://devforum.zoom.us/t/econnreset-error-when-generating-token-to-get-meeting/131955/2 "2026-04-29T07:50:15Z")

</div>

Closed on April 29, 2026, 7:50am UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
