Using Moodle 3.1.0
Navigate to My files > Private files
Use Plus Button on the right top corner and check an error is raised.
Using Moodle with a version different of 3.1.0
Navigate to My files > Private files
Use Plus Button on the right top corner and check it works.