FetchError: request to https://api.openai.com/v1/files failed, reason: read ECONNRESET

All of our files are failing to upload to OpenAI through the API. No changes on our end. This is causing a critical error on our end on a time sensitive product for our users. Please look into this!

APIConnectionError: Connection error.

5:47:38 PM at OpenAI.makeRequest (file:///app/node_modules/openai/core.mjs:325:19)

5:47:38 PM at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

5:47:38 PM at async XXXXXXXXXXXXXXXXX (file:///app/dist/main.js:907:18)

5:47:38 PM at async Promise.all (index 1)

5:47:38 PM at async transcriptionPipeline (file:///app/dist/main.js:1503:3)

5:47:38 PM at async file:///app/dist/main.js:1600:7

5:47:38 PM at async Promise.all (index 1)

5:47:38 PM at async main (file:///app/dist/main.js:1602:5)

5:47:38 PM at async file:///app/dist/main.js:1629:5 {

5:47:38 PM status: undefined,

5:47:38 PM headers: undefined,

5:47:38 PM request_id: undefined,

5:47:38 PM error: undefined,

5:47:38 PM code: undefined,

5:47:38 PM param: undefined,

5:47:38 PM type: undefined,

5:47:38 PM cause: FetchError: request to https://api.openai.com/v1/files failed, reason: read ECONNRESET

5:47:38 PM at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1501:11)

5:47:38 PM at ClientRequest.emit (node:events:518:28)

5:47:38 PM at emitErrorEvent (node:_http_client:104:11)

5:47:38 PM at TLSSocket.socketErrorListener (node:_http_client:518:5)

5:47:38 PM at TLSSocket.emit (node:events:530:35)

5:47:38 PM at emitErrorNT (node:internal/streams/destroy:170:8)

5:47:38 PM at emitErrorCloseNT (node:internal/streams/destroy:129:3)

5:47:38 PM at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {

5:47:38 PM type: 'system',

5:47:38 PM errno: 'ECONNRESET',

5:47:38 PM code: 'ECONNRESET'

5:47:38 PM }

5:47:38 PM }

5:47:38 PM cause: FetchError: request to https://api.openai.com/v1/files failed, reason: read ECONNRESET

5:47:38 PM at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1501:11)

5:47:38 PM at ClientRequest.emit (node:events:518:28)

5:47:38 PM at emitErrorEvent (node:_http_client:104:11)

5:47:38 PM at TLSSocket.socketErrorListener (node:_http_client:518:5)

5:47:38 PM at TLSSocket.emit (node:events:530:35)

5:47:38 PM at emitErrorNT (node:internal/streams/destroy:170:8)

5:47:38 PM at emitErrorCloseNT (node:internal/streams/destroy:129:3)

5:47:38 PM at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {

5:47:38 PM type: 'system',

5:47:38 PM errno: 'ECONNRESET',

5:47:38 PM code: 'ECONNRESET'

5:47:38 PM }

5:47:38 PM }

2 Likes

Same Here!!

1 Like

Yeah we use this guy all over the place so our entire product is completely stalled atm.

1 Like

i hope someone takes a look to see whats going on

Still happening for us. It’s now intermittent, but 1/2 of them are failing. Still a problem.

It seems we are back! my uploads are working again

You can mark one of the replies solved if this issue does not persist.

Working OK here:

...
[29] create-assst-structured.py
[30] create-retrieval.py
[98] Next page
[99] *Exit without uploading
◄ current purpose ► user_data

Choose a file number or an option: 2
File uploaded successfully: assistants-file-utility-2025.py [file-CxhA21CKqsyMGBcZZF2Cz5]
━━━━━━━━━━━━━━━━━━━━━━━━━━━◣
OpenAI File Storage Utility ▮▮▶ Upload File
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬◤
Current directory: C:\chat\ai-examples\assistants
Showing files 1-30 of 66