# Problem on edit LDAP settings after set setting by extra\_settings

**URL:** <https://forum.ansible.com/t/problem-on-edit-ldap-settings-after-set-setting-by-extra-settings/37217>\
**Category:** AWX Project\
**Created:** [October 13, 2022, 7:39am UTC](https://forum.ansible.com/t/problem-on-edit-ldap-settings-after-set-setting-by-extra-settings/37217 "2022-10-13T07:39:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JS\_G](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@JS\_G](https://forum.ansible.com/u/JS_G)\
**Post date:** [October 13, 2022, 7:39am UTC](https://forum.ansible.com/t/problem-on-edit-ldap-settings-after-set-setting-by-extra-settings/37217/1 "2022-10-13T07:39:44Z")

</div>

Hello,

I have a problem when I edit LDAP settings after set one setting by extra\_settings. For the example, I only set “AUTH\_LDAP\_USER\_FLAGS\_BY\_GROUP” by extra\_settings.

Request by API with /api/v2/settings/ldap is OK, values are displaying (i tested that by podman).

But by GUI, I have this error “TypeError: Cannot read properties of undefined (reading ‘default’)”

No logs in “web container”, just " “GET /api/v2/settings/ldap/ HTTP/1.1” 200 …"

Where or how to i can found more logs for this error ?  
Can you try reproduce this and help me ?

Regards,

---

<div class="post-metadata">

**Author:** ![JS\_G](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@JS\_G](https://forum.ansible.com/u/JS_G)\
**Post date:** [October 13, 2022, 7:40am UTC](https://forum.ansible.com/t/problem-on-edit-ldap-settings-after-set-setting-by-extra-settings/37217/2 "2022-10-13T07:40:40Z")

</div>

More information : I’m in AWX 21.5.0 with awx-operator in 0.28.0

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [October 14, 2022, 5:31pm UTC](https://forum.ansible.com/t/problem-on-edit-ldap-settings-after-set-setting-by-extra-settings/37217/3 "2022-10-14T17:31:07Z")

</div>

can you screenshot the GUI with the “TypeError: Cannot read properties of undefined (reading ‘default’)” error?

Does anything standout in the awx-web logs?

“kubectl logs -f pod/podname -c awx-web”

AWX Team

---

<div class="post-metadata">

**Author:** ![JS\_G](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@JS\_G](https://forum.ansible.com/u/JS_G)\
**Post date:** [October 17, 2022, 8:53am UTC](https://forum.ansible.com/t/problem-on-edit-ldap-settings-after-set-setting-by-extra-settings/37217/4 "2022-10-17T08:53:18Z")

</div>

Hello,

Yes of course, capture is in attachment.  
Logs (Anonymised) :

xxx.xxx.xxx.xxx - - [17/Oct/2022:08:19:15 +0000] “OPTIONS /api/v2/settings/all/ HTTP/1.1” 200 305926 “[https://xxx.xxxxxxx.xxx/](https://xxx.xxxxxxx.xxx/)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37” “xxx.xxx.xxx.xxx”

xxx.xxx.xxx.xxx- - [17/Oct/2022:08:19:20 +0000] “GET /api/v2/settings/ldap/ HTTP/1.1” 200 5239 “[https://xxx.xxxxxxx.xxx/](https://xxx.xxxxxxx.xxx/)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37” “xxx.xxx.xxx.xxx”

[pid: 32|app: 0|req: 3/10] xxx.xxx.xxx.xxx () {68 vars in 2916 bytes} [Mon Oct 17 08:19:20 2022] GET /api/v2/settings/ldap/ =\> generated 5239 bytes in 63 msecs (HTTP/1.1 200) 14 headers in 595 bytes (1 switches on core 0)

xxx.xxx.xxx.xxx - - [17/Oct/2022:08:19:29 +0000] “GET /api/v2/settings/ldap/ HTTP/1.1” 200 5239 “[https://xxx.xxxxxxx.xxx/](https://xxx.xxxxxxx.xxx/)” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37” “xxx.xxx.xxx.xxx”

[pid: 32|app: 0|req: 4/11] xxx.xxx.xxx.xxx () {68 vars in 2916 bytes} [Mon Oct 17 08:19:29 2022] GET /api/v2/settings/ldap/ =\> generated 5239 bytes in 70 msecs (HTTP/1.1 200) 14 headers in 595 bytes (1 switches on core 0)

Regards,

> **(attachments)**
>
> ![LDAP AWX Error.png](https://us1.discourse-cdn.com/ansible/original/2X/6/6672a71d39589feb7ffbd107b91695c0648db7c1.png)
