Character Limits for Required Fields in API Requests
Last updated: August 22, 2025
Character Limits for Required Fields in API Requests
Troubleshooting: Index Size Limit Exceeded Error
Symptoms
Receiving an error message indicating
index row size exceeds btree version 4 maximum 2704Unable to upload or update records via API when required fields contain large amounts of text
Possible Causes
Requiredfields containing text that exceeds 2704 charactersLarge data entries in fields marked as required in the schema
Solutions
Solution 1: Remove Required Constraint
Remove the Required constraint from fields that may contain large amounts of text. Implement a recordHook to handle the validation logic instead.
Solution 2: Limit Text Length
For Required fields, ensure the text content does not exceed 2704 characters. Implement validation in your application to truncate or reject content that exceeds this limit before sending to the API.
Solution 3: Manual Entry Workaround
If you need to include text that exceeds the character limit:
Submit the record without the large text field content
Update the field manually through the application interface after the initial upload
When to Contact Support
If the above solutions do not resolve the issue, please contact our support team with the following information:
The specific API endpoint you're trying to access
A sample of the request payload (with sensitive data removed)
The complete error message received
Details about which fields are marked as required in your schema