Resolving Heroku application Error : Failed to authenticate user ‘heroku’ on db – Mongo::AuthenticationError

Heroku Logo
Problem Scenario I was revamping a Locomotive CMS application from scratch. As a part of deployment of this new application, I copied the MongoDB database from its previous version to the new app. However on accessing the application after deployment I got the following error. This is a very generic error message and to get into the actual root cause I checked the application log. It contains the following error. Failed to authenticate user ‘heroku’ on db ‘{My Application Database... more →
Posted in: Cloud, Programming