# Issue with Mapping Response for New Account Creation

**URL:** <https://developer.sailpoint.com/discuss/t/issue-with-mapping-response-for-new-account-creation/90974>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud\
**Created:** [November 26, 2024, 7:17pm UTC](https://developer.sailpoint.com/discuss/t/issue-with-mapping-response-for-new-account-creation/90974 "2024-11-26T19:17:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![clebercarvalhoRaise](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/clebercarvalhoraise/32/17511_2.png) [@clebercarvalhoRaise](https://developer.sailpoint.com/discuss/u/clebercarvalhoRaise)\
**Post date:** [November 26, 2024, 7:17pm UTC](https://developer.sailpoint.com/discuss/t/issue-with-mapping-response-for-new-account-creation/90974/1 "2024-11-26T19:17:56Z")

</div>

I am encountering difficulties mapping the response for account creation in my connector. The new accounts are being created, but the response mapping is not functioning correctly.

Currently, the expected response output is as follows:

```auto
[
    {
        "cod_opera": "A31API",
        "login": "A31API",
        "dn": "A31API",
        "nome": "USUARIO IDN 31",
        "perfil": "OPEREXT3",
        "nivel_negociacao": "1 - GERAL",
        "bloqueado": "N",
        "login_superior": "",
        "tipo_discagem": "",
        "discador": "",
        "local": "3 - CGMP",
        "tipo_autenticacao": "LDAP1 - LDAP",
        "tipo_operador": "Administrativo",
        "assessorias": [],
        "credores": [
            {
                "codigo": "1",
                "descricao": "SEM PARAR"
            }
        ]
    }
]

```

I attempted to map only the `login` attribute to validate the functionality, but it is not working as expected. The current result is shown in _image01_.

I have also attached the **response mapping** configuration (_image02_) and the **account schema** used for validation (_image03_).

Looking forward to guidance on necessary adjustments or identifying possible misconfigurations.

 ![image01](https://global.discourse-cdn.com/sailpoint/original/3X/e/8/e8bcbc001b7f01d55cb5efbcb9506df09c9456c6.png)  
 ![image02](https://global.discourse-cdn.com/sailpoint/original/3X/5/1/51cf12458a403e9dab52cf9fd746c90ffae6f832.png)  
 ![image003](https://global.discourse-cdn.com/sailpoint/original/3X/6/1/614423fc6e88b95dafb2b919c3d35dc94037d194.png)

---

<div class="post-metadata">

**Author:** ![zachm117](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/zachm117/32/3883_2.png) [@zachm117](https://developer.sailpoint.com/discuss/u/zachm117)\
**Post date:** [November 27, 2024, 2:55am UTC](https://developer.sailpoint.com/discuss/t/issue-with-mapping-response-for-new-account-creation/90974/2 "2024-11-27T02:55:11Z")

</div>

Hey @clebercarvalhoRaise!

What do you have for your Root Path under Response Information?

Try putting `$[*]` in your Root Path and `login` in your in the Attribute Path for your Response Mapping.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/0/6/06e5ddc674ed85daade4a8b6e15844d464da0ba4.png)

Thank you,

- Zach

---

<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:** [January 26, 2025, 2:55am UTC](https://developer.sailpoint.com/discuss/t/issue-with-mapping-response-for-new-account-creation/90974/3 "2025-01-26T02:55:49Z")

</div>

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