How to populate users? [Strapi v4]

System Information
  • Strapi Version: v4
  • Operating System: Windows
  • Database: Postgres

In user object I have multi component like this:

When I’m calling to API with request: http://localhost:1337/api/users/me?populate=*
then I’m getting only non-nested data like primary fields.

Why I’m not getting nested data? Request includes populate parameter (???).

1 Like

I too have the same issue.

Same, no solution for this?

had same issue… fixed it by enabling find and findOne actions…

The solution for a particular issue is the following
Go to settings and click on USERS & PERMISSIONS PLUGIN and then click on roles. where you will find all the roles. click on any role and then on the bottom click on the role and check to find the endpoint and press save. so now call that API api/users/me?populate=* will show you the user details and Role information

1 Like