Hello,
I have a small issue regarding actions that take a bit more time in Forest Admin. After about a minute, an error occurs: “Something went wrong: NetworkError when attempting to fetch resource.” However, the action continues to run on the backend.
I have already tried using “server.timeout = 10 * 60 * 1000;”, which works locally but not in production. This error appeared when we migrated to version 9.2.9 of forest-express-sequelize.
Why do you need such a long action by the way ?
Couldn’t you improve your smart action instead ?
Or if you don’t need the response you could return a response saying “The action has been taken into account and will be done in a few minutes” for example
The processing of the action takes a bit more time as it involves a feature to generate clients’ account statements. This depends on the number of transactions conducted by the client. At the end of the action, we await the file of the statement generated by the SMART ACTION.