Since Strapi version 4.2.2 the route api/users/me no longer returns the role field in the user data but accepts populating (see https://github.com/strapi/strapi/issues/13296).
So now to get the user’s role you need to populate the role field, thus the call will be api/users/me?populate=role.
Note that you also need to give the role permissions to find role too.
1 Like