Connection: The return from the api was incorrect

I have already solved. I was missing the name of the database(“sample_mflix”) in the .env file.
MFLIX_DB_URI = mongodb + srv: // m220student: m220password@mflix-e1bp6.mongodb.net/sample_mflix