# Make Identity attribute searchable bug

**URL:** <https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406>\
**Category:** Bugs\
**Tags:** sailpoint-identity-security\
**Created:** [May 29, 2024, 5:37pm UTC](https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406 "2024-05-29T17:37:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![YIOA1](https://avatars.discourse-cdn.com/v4/letter/y/ebca7d/32.png) [@YIOA1](https://developer.sailpoint.com/discuss/u/YIOA1)\
**Post date:** [May 29, 2024, 5:37pm UTC](https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406/1 "2024-05-29T17:37:47Z")

</div>

# What problem are you observing?

Hi Team, when we are trying to set custom attribute searchable it is throwing 500 error standard false and searchable true through beta API:  
[https://developer.sailpoint.com/docs/api/beta/put-identity-attribute/#\_gl=1\*xyp666\*\_gcl\_au\*Nzk0Njk3MDgwLjE3MDk3NjczNjk](https://developer.sailpoint.com/docs/api/beta/put-identity-attribute/#_gl=1*xyp666*_gcl_au*Nzk0Njk3MDgwLjE3MDk3NjczNjk)

```auto
{
    "sources": [
        {
            "type": "rule",
            "properties": {
                "ruleType": "IdentityAttribute",
                "ruleName": "Cloud Promote Identity Attribute"
            }
        }
    ],
    "name": "upn",
    "displayName": "User Principal Name",
    "standard": false,
    "type": "string",
    "multi": false,
    "searchable": true,
    "system": false
}

```

# What is the correct behavior?

This is a bug we should have standard false and searchable true so that our correlation with this custom attribute upn works. We didn’t face this issue when we have cc API

# What product feature is this related to?

beta AP:  
[https://developer.sailpoint.com/docs/api/beta/put-identity-attribute/#\_gl=1\*xyp666\*\_gcl\_au\*Nzk0Njk3MDgwLjE3MDk3NjczNjk](https://developer.sailpoint.com/docs/api/beta/put-identity-attribute/#_gl=1*xyp666*_gcl_au*Nzk0Njk3MDgwLjE3MDk3NjczNjk)

# What are the steps to reproduce the issue?

1. Create custom attribute
2. Try to set searchable attribute true

# Do you have any other information about your environment that may help?

This is API bug

---

<div class="post-metadata">

**Author:** ![mpotti](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/mpotti/32/2916_2.png) [@mpotti](https://developer.sailpoint.com/discuss/u/mpotti)\
**Post date:** [May 29, 2024, 6:04pm UTC](https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406/2 "2024-05-29T18:04:01Z")

</div>

I had to do this recently when working with a new connection in our Prod Tenant. And worked with no issues. Method used was PUT. I used POSTMAN to send this request.

## Request URL

```auto
{{IdN_Prod_API_Uri}}/beta/identity-attributes/{{AttributeName}}

```

## PayLoad

```auto
{
    "sources": [
        {
            "type": "rule",
            "properties": {
                "ruleType": "IdentityAttribute",
                "ruleName": "Cloud Promote Identity Attribute"
            }
        }
    ],
    "name": "{{AttributeName}}",
    "displayName": "{{Dispay Name}}",
    "standard": false,
    "type": "string",
    "multi": false,
    "searchable": true,
    "system": false
}

```

---

<div class="post-metadata">

**Author:** ![YIOA1](https://avatars.discourse-cdn.com/v4/letter/y/ebca7d/32.png) [@YIOA1](https://developer.sailpoint.com/discuss/u/YIOA1)\
**Post date:** [May 29, 2024, 7:55pm UTC](https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406/3 "2024-05-29T19:55:54Z")

</div>

Hi Mark, Thank you for responding. Strange, we were not able to do that in Sandbox. Although I used same API through postman.

---

<div class="post-metadata">

**Author:** ![edmarks](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/edmarks/32/2896_2.png) [@edmarks](https://developer.sailpoint.com/discuss/u/edmarks)\
**Post date:** [May 30, 2024, 1:03am UTC](https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406/4 "2024-05-30T01:03:35Z")

</div>

My guess is that one of the header values were different in Postman compared to whatever tool you were using previously.

---

<div class="post-metadata">

**Author:** ![sganesan](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@sganesan](https://developer.sailpoint.com/discuss/u/sganesan)\
**Post date:** [August 6, 2024, 5:45pm UTC](https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406/5 "2024-08-06T17:45:00Z")

</div>

I’m also the similar issue, to make identity attribute as Searchable

---

<div class="post-metadata">

**Author:** ![YIOA1](https://avatars.discourse-cdn.com/v4/letter/y/ebca7d/32.png) [@YIOA1](https://developer.sailpoint.com/discuss/u/YIOA1)\
**Post date:** [August 9, 2024, 8:24pm UTC](https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406/6 "2024-08-09T20:24:09Z")

</div>

It is because IDN has limit of 6 custom attributes only. We also had duplicate attributes created which w fixed by deleting duplicate attributes

---

<div class="post-metadata">

**Author:** ![jolan](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jolan](https://developer.sailpoint.com/discuss/u/jolan)\
**Post date:** [August 14, 2024, 6:02am UTC](https://developer.sailpoint.com/discuss/t/make-identity-attribute-searchable-bug/58406/7 "2024-08-14T06:02:54Z")

</div>

Yup, agree on this. I faced the same. Is due to the limit of 6 enforced at the backend. This error can be seen by the ES team in their backend log. If you have engage ES, you can verify this with your ES counterpart on this.
