About Accessing Keycloak Endpoints

Hi there!!

I was just making some api/endpoints to get the data
I used below url to get the token
http://localhost:8080/auth/realms/test2/protocol/openid-connect/token
in which i was successful

now to list all the users in the realm i used the below url
http://localhost:8080/auth/admin/realms/test2/users
this gave me 403 forbidden
{
“error”: “unknown_error”
}

now the thingis it was working last time used the endpoint
did something changed in last 2 -3 months?
If so help me to list all the user in the realm