milk enjoyerM
Convex Community13mo ago
25 replies
milk enjoyer

Aggregate (Convex Component) fails if multiple documents are added at once

If I add multiple documents at once, I get the following error:
Documents read from or written to the "btreeNode" table changed while this mutation was being run and on every subsequent retry. Another call to this mutation changed the document with ID "j97257gsj6gkr786bghe6nd2zn772qjw". See https://docs.convex.dev/error#1

Adding them one by one does not trigger this error.
This page explains specific errors thrown by Convex.
Errors and Warnings | Convex Developer Hub
Was this page helpful?