chalked it up


Assume something happened because of something.

Fu Manchu's zookeepers assumed or thought one of them had left the gate opened. They assumed it was human error, they never thought it was Fu Manchu who had opened the gate.