# SCIM 2.0 connectvity is failing with 401 Error

**URL:** <https://developer.sailpoint.com/discuss/t/scim-2-0-connectvity-is-failing-with-401-error/62663>\
**Category:** IIQ Discussion and Questions\
**Tags:** identityiq\
**Created:** [June 5, 2024, 6:49am UTC](https://developer.sailpoint.com/discuss/t/scim-2-0-connectvity-is-failing-with-401-error/62663 "2024-06-05T06:49:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nabolla2](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nabolla2](https://developer.sailpoint.com/discuss/u/nabolla2)\
**Post date:** [June 5, 2024, 6:49am UTC](https://developer.sailpoint.com/discuss/t/scim-2-0-connectvity-is-failing-with-401-error/62663/1 "2024-06-05T06:49:42Z")

</div>

### Which IIQ version are you inquiring about?

Version 8.4

### Share all details related to your problem, including any error messages you may have received.

Hi Team,

I am facing the connectvity issue with one of the SCIM application. I am passing the valid token and also sending the additional request headers in below format. But i am getting the bellow error.

`Test Connection Failed : java.io.IOException: HTTP/1.1 401 Unauthorized : Please check OAuth2 Token`

Additional request header format which i am sending

```auto
<entry key="oauth_headers">
    <value>
        <Map>
            <entry key="keyname" value="keyvalue"/>
        </Map>
    </value>
</entry>

```

Please suggest me if any configuration i am missing here. From postman it is working with same configuration.

---

<div class="post-metadata">

**Author:** ![kjakubiak](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kjakubiak/32/7052_2.png) [@kjakubiak](https://developer.sailpoint.com/discuss/u/kjakubiak)\
**Post date:** [June 5, 2024, 6:54am UTC](https://developer.sailpoint.com/discuss/t/scim-2-0-connectvity-is-failing-with-401-error/62663/2 "2024-06-05T06:54:40Z")

</div>

Hi Naga,  
It’s kind of hard to say without details, you would need to provide us some more details - it would be perfect to see the app xml but also what target application you are trying to connect.

---

<div class="post-metadata">

**Author:** ![Muhammad\_Mustafa](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/muhammad_mustafa/32/27611_2.png) [@Muhammad\_Mustafa](https://developer.sailpoint.com/discuss/u/Muhammad_Mustafa)\
**Post date:** [June 8, 2024, 9:29pm UTC](https://developer.sailpoint.com/discuss/t/scim-2-0-connectvity-is-failing-with-401-error/62663/3 "2024-06-08T21:29:31Z")

</div>

@nabolla2 sometimes PostMan puts default values, like Content-Type, Accept, Content-Length, etc…  
Also as mentioned by @kjakubiak if you can shed more light to be able to support 🙂

---

<div class="post-metadata">

**Author:** ![vishal\_kejriwal1](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vishal_kejriwal1/32/10904_2.png) [@vishal\_kejriwal1](https://developer.sailpoint.com/discuss/u/vishal_kejriwal1)\
**Post date:** [June 10, 2024, 2:14am UTC](https://developer.sailpoint.com/discuss/t/scim-2-0-connectvity-is-failing-with-401-error/62663/4 "2024-06-10T02:14:47Z")

</div>

It could be permission issue .

---

<div class="post-metadata">

**Author:** ![nabolla2](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@nabolla2](https://developer.sailpoint.com/discuss/u/nabolla2)\
**Post date:** [June 10, 2024, 5:31am UTC](https://developer.sailpoint.com/discuss/t/scim-2-0-connectvity-is-failing-with-401-error/62663/5 "2024-06-10T05:31:09Z")

</div>

HI All,

Thank you for your reply. I am suspecting the along with the bearer token , the extra token is not going to target and that is where it is failing because it was not able to authenticated with extra permission. I will share the app xml soon.

Regards,  
NagaPrasad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [August 9, 2024, 5:31am UTC](https://developer.sailpoint.com/discuss/t/scim-2-0-connectvity-is-failing-with-401-error/62663/6 "2024-08-09T05:31:50Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
