(I think:) There is agreement that the first 39 books belong in the Old Testament (although two of the 39 are lengthened by Catholics with additional content). The disagreement is about the books beyond the first 39 that were perhaps written later.
ProtestantsCatholics call these 7 books the Apocryphadeuterocanonical. CatholicsProtestants call these 7 books (and more - Martin Luther had 14) deuterocanonicalapocrypha. I'll I'll call them the disputed books.
The Septuagint is an ancient Greek translation of the Old Testament (included some of the disputed books, although, for example, some codexes, according to Wikipedia, include Maccabees 1-4, 1 and 4 and no Maccabees whatsoever whereas the Catholics have precisely Maccabees 1 and 2). ItThe Septuagint was written about 300 BC (although other websites I read made it sound like the disputed books were added to the Septuagint; also, as the answer below indicates at least some of them were written in Greek, vs the other 39 books were translated into Greek). The Septuagint is directly quoted in the Greek scriptures of the New Testament. Did all those who translate the Septuagint believe the disputed books were canon?
(Edit: Wikipedia says Baruch was missing from the Council of Rome in 382)
Were there disputes about the canon before 382? If so, why did it take so long until the canon was officially decided at a council?
Also, perhaps noteworthy, around this time the Latin Vulgate translation of the Bible was completed by Jerome (I think) and it contains the disputed books. Although something I read said Jerome believed these disputed books weren't Scripture. (Edit: some sources I've read say Jerome later changed his mind and believed the apocrypha, as he called them, to be scripture. He was translating the Old Testament from Hebrew Scriptures, which was a first, apparently, for latin Bibles, and the Hebrew Scriptures didn't have these additional books - which if they were written in Greek originally, that's not surprising that they were not in Hebrew)