Error 'Row size too large'
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Error 'Row size too large'

Error overview

This error occurs when you create a form with many fields, typically 80+.

This is because the underlying MySQL database has a limitation (click here) on how many columns a table can support.

This error can also occur when syncing forms from other applications like REDCap or OpenClinica if the source form has many fields.

Resolution

To fix the error:

This problem has no fix since the underlying database imposes the limitation.

Workarounds

Scenario

Workaround

Details

Scenario

Workaround

Details

If the form is being created in OpenSpecimen

Create multiple forms

If the form is being created in OpenSpecimen: create multiple forms. In any case, such a large form is not ideal from a data-entry perspective.

If the form is being synced from external applications

Use the inclusion/exclusion feature

If the form is being synced from external applications: use the inclusion/exclusion feature to ignore unwanted fields

References:

For REDCap: Advance Features

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com