[MongoDB] Error when retrieving the Directory
Question
Forge component by Barduino


Internal Error

Error:
The connection string 'Directory' is not valid.

An internal error occurred and was logged.
Please try again later or contact the administration team.

I am actually having the same problem. Can anybody answer this? Thanks

Hi Folks,

Check your connection string in the site properties is pointing to your MongoDB server, for example:

mongodb://mongodb:xxx@cluster0-shard-00-00.gwob1.mongodb.net:27017,cluster0-shard-00-01.gwob1.mongodb.net:27017,cluster0-shard-00-02.gwob1.mongodb.net:27017/MongoDemo?ssl=true&replicaSet=atlas-xxx-shard-0&authSource=admin&retryWrites=true&w=majority


Also there is a timer that populated the demo, run it after the connection string is set.


Cheers

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.