I dug deeper and found more about my issue. I was saving PDFs and images and it was writing them directly into the JSON file, which made it too big to run. I asked it to set up a file structure for the files to be uploaded into and requested that everything is done through linking to that media and I haven’t had a problem since.
If you have written a long piece of code, it may be difficult for the AI to read and understand it properly.
Remove any unnecessary parts of the code that are not essential for the current functionality and do not affect how it works.
This will help the AI provide you with accurate and helpful answers.
After you receive all the responses and complete your work, you can add back the removed code and test the full functionality.
Best wishes!