In my case, the problem was that I specified postgres db in the end of the connection string instead of the actual db I needed. Hopefully, it'll help somebody.
postgres