We need information about your environment, your project. Where are you hosting, what database type, have you made any major customizations.
Your only providing half the puzzle in a very abstract way and hoping that we can solve it while missing most of the pieces. I can’t advise you on solutions until I have the exact steps required to reproduce the issue locally in my own machine.
Can you provide your project code, a sample project that you have reproduce the issue with, or the steps required to reproduce.