return 404 if database/schema doesnt exist