Closed
Analytics / CRM Analytics
CRM Analytics - Data Sync fails when an object contains too many fields exceeding the allowed URI/Header size of the REST Request
Summary
When attempting to sync an object with a large number of fields (more prone for namespaced objects) you will get error messages in two areas:
1) The Preview Source Data page - error: "Can’t retrieve field values, but you can still edit the object settings.: Unexpected token < in JSON at position 0" console error of 414/URI Too Long or 431/Request Header Fields Too Large
2) Data Sync error on Sync - error: Something went wrong while executing the Sync_test__Custom_Object_Large__c node: Internal Error. Contact Support. (02K090000016Xn4EAE_03C090000028MuVEAU)
(Object will differ in your org)
This is due to exceeding the URI/Headers length of 16,384 bytes which happens when there are hundreds of fields added in the data sync.
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/errorcodes.htm
Best practice is to include only the fields needed and add on from that as needed.
1) The Preview Source Data page - error: "Can’t retrieve field values, but you can still edit the object settings.: Unexpected token < in JSON at position 0" console error of 414/URI Too Long or 431/Request Header Fields Too Large
2) Data Sync error on Sync - error: Something went wrong while executing the Sync_test__Custom_Object_Large__c node: Internal Error. Contact Support. (02K090000016Xn4EAE_03C090000028MuVEAU)
(Object will differ in your org)
This is due to exceeding the URI/Headers length of 16,384 bytes which happens when there are hundreds of fields added in the data sync.
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/errorcodes.htm
Best practice is to include only the fields needed and add on from that as needed.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Closed with 7 reports
Nov 30, 2026