Error “Text record must only set `authSource` or `replicaSet`” when trying to connect to mongodb database

Hello

When I want to start a new project from zero, following your tutorial with a mongodb database connection , I have an error when I execute the command :

forest projects:create “ahah” --databaseConnectionURL “mongodb+srv://involvd:xxx@involvdadmin.kpep1.mongodb.net/essai” --applicationHost “localhost” --applicationPort “3310”

there is an error : × Cannot connect to the database due to the following error:

× {“name”:“MongoParseError”}

with a this specific log : “Text record must only set authSource or replicaSet

I work on mac osx M1.

could you help me ? thanks

Hi @Laurent_Meurisse ,

Thanks for reaching us.
Could you please detail your database setup?
It seems to be a known error regarding a serverless database.

Best regards,

Shohan