Warning: An error occurred while requesting the API

Hi, so I’m getting this error too. Strapi crashes after a certain period of inactivity I believe.
I’m using the latest strapi version. I’ve dockerized it as well. Kindly let me know please what am I missing here?

Node - v16.13.0
NPM - 8.1.0