# Okta Test Connection Fails

**URL:** <https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602>\
**Category:** SHF Discussion and Questions\
**Tags:** connectors, sailpoint-identity-security\
**Created:** [May 12, 2025, 7:30pm UTC](https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602 "2025-05-12T19:30:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vic\_rinkenberger](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vic_rinkenberger/32/37305_2.png) [@vic\_rinkenberger](https://developer.sailpoint.com/discuss/u/vic_rinkenberger)\
**Post date:** [May 12, 2025, 7:30pm UTC](https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602/1 "2025-05-12T19:30:27Z")

</div>

I am attempting to connect to Okta from ISC and I’m getting this error:

> **We have detected an error from the managed system.**
> 
> **Error Received:**
> 
> **[ConnectorException] [Error details] TestConnection failed. class sailpoint.tools.xml.PersistentArrayList cannot be cast to class java.util.Map (sailpoint.tools.xml.PersistentArrayList is in unnamed module of loader ‘app’; java.util.Map is in module java.base of loader ‘bootstrap’)**

This connection works without error in our current IIQ instance.

I realize that this is a casting error, but I’m not sure how to troubleshoot it. The CCG logs do not have any more details.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![ajmerasunny1](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@ajmerasunny1](https://developer.sailpoint.com/discuss/u/ajmerasunny1)\
**Post date:** [May 12, 2025, 8:43pm UTC](https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602/2 "2025-05-12T20:43:34Z")

</div>

are you using okta saas connector?

---

<div class="post-metadata">

**Author:** ![vic\_rinkenberger](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vic_rinkenberger/32/37305_2.png) [@vic\_rinkenberger](https://developer.sailpoint.com/discuss/u/vic_rinkenberger)\
**Post date:** [May 19, 2025, 3:11pm UTC](https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602/3 "2025-05-19T15:11:01Z")

</div>

No, just the “regular” connector.

---

<div class="post-metadata">

**Author:** ![kanusha9](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kanusha9/32/37041_2.png) [@kanusha9](https://developer.sailpoint.com/discuss/u/kanusha9)\
**Post date:** [May 19, 2025, 4:23pm UTC](https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602/4 "2025-05-19T16:23:05Z")

</div>

1.First test the connection in a simplified setup.  
2.Compare the versions of IIQ and the Okta connector between your two instances.  
3.Review configuration and mappings for any differences.

---

<div class="post-metadata">

**Author:** ![narayanag](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/narayanag/32/25441_2.png) [@narayanag](https://developer.sailpoint.com/discuss/u/narayanag)\
**Post date:** [May 19, 2025, 4:23pm UTC](https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602/5 "2025-05-19T16:23:25Z")

</div>

Hi Vic,  
Please share Okta screen settings by hiding your personal details.  
Cause could be configuration entry (e.g., headers, authentication block, body) is expected to be a Map , but you’ve passed a list. Its very easy configuration.

---

<div class="post-metadata">

**Author:** ![vic\_rinkenberger](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vic_rinkenberger/32/37305_2.png) [@vic\_rinkenberger](https://developer.sailpoint.com/discuss/u/vic_rinkenberger)\
**Post date:** [May 19, 2025, 4:55pm UTC](https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602/6 "2025-05-19T16:55:33Z")

</div>

OK, we found out what the issue was. This source was migrated from IIQ to ISC and it looks like a Map was incorrectly formatted as an ArrayList. Once the type had been corrected, the connection worked. Thanks for the replies!

---

<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:** [July 18, 2025, 4:56pm UTC](https://developer.sailpoint.com/discuss/t/okta-test-connection-fails/127602/7 "2025-07-18T16:56:27Z")

</div>

Closed on July 18, 2025, 4:56pm UTC

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