You can use the Sketch Analysis tool to find and resolve errors related to sketch constraints, missing sketch references, and open sketch profiles.
Alternatively you can use the command from the Shortcut Menu.