My app doesn't refresh sheets data when modified through the app

Each time the user adds something, extras rows are written? Can you go into further detail what happens in the sheet when records are added/edited? Does the added or edited record look correct?

My first guess is you have an array formula with an incorrect started row number for the range. I’ve had issues where I’ve in inserted the wrong starting row in a range and the formula started loop calculating down several thousand rows.