error/moodle/cannotviewprofile

From MoodleDocs

You do not have permission to view the profile page for this user.

You are most likely seeing that because you are attempting to view a user's profile from outside of a course. As an Authenticated user you are, by default, not permitted to view other users' profiles. You can ask your site administrator to change this setting if you do not think this is correct.

See also