Those links were very helpful. I changed the mode to OnDemand which uses autogeneralize and that solved the problem. I also had a query that was causing the same error. Setting the maxAllowableOffset solved it as well.
Thank you for the quick response!