The BBC was forced to apologise for its "unintentional errors".