The shape of the firebase configuration looks correct. Make sure that the values you have in there match the configuration of the Firebase you are connecting to. You say that you are having problems in parts of your application; you are going to have to debug the code to see what those potential problems are. BTW, the common way to hook up to Firestore normally looks like this in your app imports:
AngularFireModule.initializeApp(firebaseConfig),
AngularFirestoreModule
At that point, you are just injecting
AngularFirestore
into services and working with them directly there.