How do I find all instruments with errors or warnings?

The error column in the instrument view is only marked for the instruments that have an error, not those with warnings. If you want to find all instruments that have errors and/or warnings, you have to use the Error List column and the search expression ~~”?*” which searches for all lines that are not empty.