Currently we are working on automating the process uploads with Anaplan connect.
An error occurs for data transfer between 2 models in Anaplan.
If the process is ran via the scripts, I get the following error:
Import into module failed: The column headers in the file you are attempting to import do not match the import definition. The column headers in the file you are attempting to import do not match the import definition.
If I do the process manually (process in Anaplan), then everything goes well.
Are you using the same file/module/view which you used at the time of creation of the action.
The Anaplan command line just runs the process/Action , the only possibility of an error is in case you are using a different source (or the source module/view is changed). Do you want to recheck your source and try again.
Please make sure that Column Header & Data Row in the File should match with the Header and Data Row in the import definition while creating action because Created action is going be use in the Script and same file should be use in the script while running it.