Invalid document structure: Attribute "BankName" has invalid type. Value must be a valid string and no longer than 120 chars
But BankName = 120 chars.
TL;DR
Developers are encountering an error when attempting to encrypt attributes using Flutter SDK. The error message states that the attribute "BankName" has an invalid type, despite it being 120 characters long.