When an Attribute Statement is submitted with a value of more than 1024 characters in the Custom field, the following error is returned:
We found some errors. Please review the form and make corrections.
If the Developer Tools are opened in the browser, on the Network tab, the following error message will be visible in the Response tab of the entry:
Invalid SAML attribute '< attribute_name>': value cannot be more than 1024 characters.
This article discusses whether the maximum number of characters used in the Custom field on an Attribute Statement can be changed.
- Attribute Statements
- Secure Assertion Markup Language (SAML)
The limit of 1024 characters that can be used when building up an expression using Expression Language is hardcoded and cannot be adjusted.
To avoid the above errors, use a maximum of 1024 characters in the Attribute Statement.
Related References
- More details on how to use Developer Tools are available in the Generate HTTP Archive files article.
