# 401 Unauthorized going into v2 Account Console

**URL:** <https://forum.keycloak.org/t/401-unauthorized-going-into-v2-account-console/19370>\
**Category:** Configuring the server\
**Tags:** account-console\
**Created:** [January 3, 2023, 3:13am UTC](https://forum.keycloak.org/t/401-unauthorized-going-into-v2-account-console/19370 "2023-01-03T03:13:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mannyg](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@mannyg](https://forum.keycloak.org/u/mannyg)\
**Post date:** [January 3, 2023, 3:13am UTC](https://forum.keycloak.org/t/401-unauthorized-going-into-v2-account-console/19370/1 "2023-01-03T03:13:28Z")

</div>

Hello all,

I am having a strange issue where I am unable to access the account console, where I am receiving the error: Forbidden: You do not have access rights to this request. Contact your administrator.

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/8/8b163f4433b0013a0040b7939c124f3ab285f011.png)

This seems to only happen with my master realm, in a newly created test realm it works fine.

I am running Keycloak in docker behind an nginx reverse proxy. Everything works fine, I am able to access the admin console as well as access some SAML clients I’ve already configured. I can share my settings if needed.

Inside my master realm, I have federated LDAP users from my active directory. I did accidentally delete the manage-account role in the realm but recreated it using the same settings from a test realm, so that should be equal there. It seemed to have broke when I deleted the role but now I have a new manage-account role with the same settings inside the realm. Does that affect anything? Is there anything I should check?

All users have the new manage-account role and should be able to edit inside the account console. I looked inside my inspect element and noticed 401 errors. I enabled debug logging inside Keycloak docker and received this error when trying to access the account console:

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/7/74c0b7f1ad7b8afcee4fd7a4c6de293b59701c99.png)

Strangely the v1 account console works but the v2 account console doesn’t. I’d really like to have the v2 account console as I am planning on customizing it for my needs.  
Any help would be appreciated in rectifying this issue.

---

<div class="post-metadata">

**Author:** ![ajaiswal595](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/ajaiswal595/32/6789_2.png) [@ajaiswal595](https://forum.keycloak.org/u/ajaiswal595)\
**Post date:** [November 8, 2024, 7:17am UTC](https://forum.keycloak.org/t/401-unauthorized-going-into-v2-account-console/19370/2 "2024-11-08T07:17:13Z")

</div>

@mannyg have you found the solution to this error?

I’m only getting it in case of ldap user and I migrated keycloak 15 to keycloak 25.

---

<div class="post-metadata">

**Author:** ![ajaiswal595](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/ajaiswal595/32/6789_2.png) [@ajaiswal595](https://forum.keycloak.org/u/ajaiswal595)\
**Post date:** [November 8, 2024, 7:35am UTC](https://forum.keycloak.org/t/401-unauthorized-going-into-v2-account-console/19370/3 "2024-11-08T07:35:41Z")

</div>

Raised the issue

[https://github.com/keycloak/keycloak/issues/34771](https://github.com/keycloak/keycloak/issues/34771)
