# SAML AttributeValue max length

**URL:** <https://devforum.okta.com/t/saml-attributevalue-max-length/7855>\
**Category:** SAML\
**Created:** [January 29, 2020, 5:38pm UTC](https://devforum.okta.com/t/saml-attributevalue-max-length/7855 "2020-01-29T17:38:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![taras](https://avatars.discourse-cdn.com/v4/letter/t/53a042/32.png) [@taras](https://devforum.okta.com/u/taras)\
**Post date:** [January 29, 2020, 5:38pm UTC](https://devforum.okta.com/t/saml-attributevalue-max-length/7855/1 "2020-01-29T17:38:31Z")

</div>

I’m trying IdP initiated flow from Okta, and utilizing custom attribute statements. What is the maximum supported length for the value? I had no issues sending from Okta and receiving on SP pretty long value 10K symbols, but your documentation states 1024 ([https://help.okta.com/en/prod/Content/Topics/Apps/attribute-statements-saml.htm](https://help.okta.com/en/prod/Content/Topics/Apps/attribute-statements-saml.htm))

Can you comment on that?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 7:12pm UTC](https://devforum.okta.com/t/saml-attributevalue-max-length/7855/2 "2024-02-12T19:12:54Z")

</div>


