Join Discord
Powered by
API calls failing on timeout
# 🤝help
i
icy-painting-67927
05/04/2024, 6:36 AM
I have a call to a Flask API endpoint which is called on the conversation end. It sends all the conversation-related data to my database. It works fine when users end the conversation on their own. But when the conversation is ended due to time out I am getting the below error.
https://cdn.discordapp.com/attachments/1236204726551314545/1236204727209824276/image.png?ex=663728de&is=6635d75e&hm=27edbf4ebc0f45f8938f1a1213240f086fbc2a2212447019ba30321a621ce5fb&
f
fresh-fireman-491
05/04/2024, 10:11 PM
Hey there "ECONNRESET" means your endpoint abruptly closed its end of the connection. This is most probably due to one or more application protocol errors. You could look at the API server logs to see if it complains about something.
Previous
Next