google sheets – How to fix an error in several Importrange

I create a table to display data from a combination of multiple Spreadsheet files with the help of Multiple Importrange.

= QUERY ({G1, "Sheet1! A2: D"); Importrange (G5, "Sheet1! A2: D")}, "Select Col1, Col2, Col3, Col4 where Col3 is not zero and Col4 is not zero ")

The above formula went well.
Works
My file:
https://docs.google.com/spreadsheets/d/1eL06DChMSkLuOOj9YNK6KUsVUIqbjcYlKS8pZHLmt_0/edit#gid=0

I insert Spreadsheet files into the "List of links" table.
The link in the table has 3 links.

What I want to ask is how can I overcome the importrange multiple error when the link in the array does not exist yet?

The formula that I have changed is:

= IFERROR ({Importrange (G3, "Sheet1! A2: D")); Importrange (G4, "Sheet1! A2: D"); Importrange (G5, "Sheet1! A2: D"); Importrange (G6, "Sheet1! A2: D"); Importrange (G7, "Sheet1! A2: D")}, "Select Col1, Col2, Col3, Col4 where Col3 is not zero and Col4 is not nil "))

The result is empty.
Empty

Give me a solution sir. Thank you.