The films were produced before the book series was finished
If they had just waited a few years, the filmmakers would have known how important something like the mention of Grindewald would be. Or Peeves. Or, oh, we don’t know… Dobby? Maybe if they would have just taken a step back, Dobby could have gotten the on-screen treatment he deserved. Not that we’re bitter or anything.