TYPO3 Exception 1480765571 

Data structure identifier must be set, typically by executing TcaFlexPrepare 

If you encounter this error during FlexForm integration:

Data structure identifier must be set, typically by executing TcaFlexPrepare data provider before
Copied!

it means that your FlexForm's XML structure is defective (broken, has errors, does not parse properly).

Missing prefix "FILE:" 

It occurs, for example, when you try to add a FlexForm file to a CE or plugin, but forget the prefix FILE::

EXT:my_extension/Configuration/TCA/Overrides/tt_content.php
/**
 * WRONG WAY to add a FlexForm file to a content element
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
    '*',
    'EXT:my_extension/Resources/Private/FlexForm/MyFlexForm.xml',
    'myextension_textpic'
);

/**
 * CORRECT WAY to add a FlexForm file to a content element
 */
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
    '*',
    'FILE:EXT:my_extension/Configuration/FlexForms/MyFlexForm.xml',
    'myextension_textpic'
);
Copied!

Mismatching name of the FlexForm file (TYPO3 14.3.5) 

This exception is thrown if no file exists at the configured path. The file name is case-sensitive and must match exactly, in this example flexform_ds_plugin.xml:

EXT:my_extension/Configuration/TCA/Overrides/tt_content.php
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;

$extensionKey = 'my_extension';
ExtensionManagementUtility::addPiFlexFormValue(
    '*',
    'FILE:EXT:' . $extensionKey . '/Configuration/FlexForms/flexform_ds_plugin.xml',
    $pluginSignature,
);
Copied!