You're right to dig into data-file-upload.tsx. The 10MB size limit isn’t the issue here — your 46KB CSV is well within range. The real problem is the record count limit, which is capped at 1,000 records in the default Experience Builder Add Data widget.
What’s Actually Happening
In the widget’s logic, there’s a check like this:
if (features.length > 1000) {
throw new Error('Exceeded Max Records')
}
So even if your file is tiny, if it has over 1,000 rows, it’ll throw that error.
What You Can Do
Since you’re using Developer Edition, you can:
Navigate to the data-file-upload.tsx file.
Locate the line that throws the “Exceeded Max Records” error.
Increase the threshold (e.g., 5000 or more based on your needs).
Rebuild your app using:
npm run build:dev
Restart Experience Builder and test.
Please check the link below.
https://doc.arcgis.com/en/experience-builder/11.2/configure-widgets/add-data-widget.htm?utm_source=c...