Yeah but this is a “needle in a haystack” problem that chatgpt and AI in general are actually very useful for, ie. Solutions that are hard to find but easy to verify. Issues like this are hard to find as it requires combing through your code , config files and documentation to find the problem, but once you find the solution it either works or it doesn’t.
If you let the sauce simmer for long enough, 4-5 hours, or pressure cook it the starches of the tomatoes will break down and you won’t need to add sugar. The acidity will also go down the longer it’s simmered too.