Invalid mongodb config cuased services shown empty list

The services will be shown empty if you have configured mongodb database with any special characters like

mydb.com

no validation for database name.

MongoDB does not allow the decimal/period character in database names. From official documentation:

For MongoDB deployments running on Windows, MongoDB will not permit database names that include any of the following characters:

/\. "$*<>:|?

For MongoDB deployments running on Unix and Linux systems, MongoDB will not permit database names that include any of the following characters:

/\. "$

However, I created a MongoDB connection on my DSP’s Services tab with a database name of df.test and I was unable to reproduce this problem. The Services tab displays the list of services without issue, the MongoDB service I created opens and is editable, and a GET on /rest/system/service returns the database name without error.

Could you provide some more detail on how to reproduce this issue?