"Command find requires Authentication" despite having correct authentication details in mongoURI

The problem was resolved when readWrite role added to the user with database access.
Is it because of POST requests?