Cockatoo Bites Are Unpredictable

Almost everyone online says that Cockatoos will bite unpredictably, have you ever had this issue? Our cockatoo seems happy and has never randomly bit us on purpose while happy. If she is going to bite, she gives us a lot of warnings before hand.

Anyway, could anyone provide their input?