I successfully deployed my app to Heroku, Added mLab as my add-on
I also set
heroku config:set MONGOLAB_URI=mongodb://[myusername]:[mypassword]@ds119508.mlab.com:19508/heroku_l1q51vhd
but still I get:
I got the answer. The problem was with authentication. I made new user/pass and it works. You can use Mongochef to check if your connection and authentication with db is correct.
How to create a specific type of object for type .hdf5?
MongoDB: How to get main document and all ancestors
How to store Carbon DateTime ISO object in Sub Json Document in Laravel 5.2 MongoDB
How do I drop a MongoDB database from the command line?
How to update section in the Mongo collection?