I have CSV file which is generated from fixed width file. I want to validate data type of each field and capture which field is errored out while validating and error message. Can you please help here
Try using ValidateRecord processor as described in this article with Strict Type Checking is set to "true" and to parse fixed width file refer to this link for detailed explanation for parsing.