# SCIM 2.0 provisioning issue

**URL:** <https://devforum.okta.com/t/scim-2-0-provisioning-issue/15068>\
**Category:** SCIM\
**Created:** [July 9, 2021, 11:22pm UTC](https://devforum.okta.com/t/scim-2-0-provisioning-issue/15068 "2021-07-09T23:22:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![and](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@and](https://devforum.okta.com/u/and)\
**Post date:** [July 9, 2021, 11:22pm UTC](https://devforum.okta.com/t/scim-2-0-provisioning-issue/15068/1 "2021-07-09T23:22:35Z")

</div>

We have SCIM setup and we are trying to provisioning users but getting following error:

User gets created in the database but OKTA shows this error.

ERROR:  
Automatic provisioning of user Demo User to app SCIM 2.0 Test App (Basic Auth) failed: Error while creating user [test@test.com](mailto:test@test.com): Expression Evaluation Error occurred for schema property: email. Please verify your SCIM property externalName in the Profile Editor. Error:EL1015E: Cannot perform selection on input data of type ‘java.lang.String’ Please fix this on the [Tasks Page](https://ivaluascimtest-admin.okta.com/admin/tasks)

ExternalName for primary email is : emails.\[1\].value

Appreciate any idea on how to fix it.

* * *

1. primary==true

---

<div class="post-metadata">

**Author:** ![phi1ipp](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@phi1ipp](https://devforum.okta.com/u/phi1ipp)\
**Post date:** [July 10, 2021, 5:01pm UTC](https://devforum.okta.com/t/scim-2-0-provisioning-issue/15068/2 "2021-07-10T17:01:58Z")

</div>

check, what you return back to Okta as a result of SCIM User Create, might be the returned object doesn’t fit into SCIM schema

---

<div class="post-metadata">

**Author:** ![Cale](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/cale/32/2496_2.png) [@Cale](https://devforum.okta.com/u/Cale)\
**Post date:** [July 12, 2021, 1:50pm UTC](https://devforum.okta.com/t/scim-2-0-provisioning-issue/15068/3 "2021-07-12T13:50:54Z")

</div>

What phi1ipp said. Here is an example of the response Okta expects upon user creation:

[https://developer.okta.com/docs/reference/scim/scim-20/#create-the-user](https://developer.okta.com/docs/reference/scim/scim-20/#create-the-user)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 8, 2024, 6:42pm UTC](https://devforum.okta.com/t/scim-2-0-provisioning-issue/15068/4 "2024-02-08T18:42:15Z")

</div>

Closed on February 8, 2024, 6:42pm UTC

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