There was no 404 CMS page configured or found

Hi team, After upgrading magento 2.1 to 2.3 successfully I get

There was no 404 CMS page configured or found

I have tried many suggestions ranging from file permissions, etc but none is working,

Has anyone come across this

Please, be more specific and list all of the potential solutions you’ve tried.

Also, include information on your setup and installation method - Including your method of upgrade. Don’t forget to mention where you see this error message (i.e. all pages, specific pages, fronted only, etc…)

Thanks @digitalstartup I got the solution, I was using the wrong database