There is a toolhead information command where the error should be detected: M1006
Have a look at the details here:
Great the cleaning out did it for you!