Yeah this has been reported several times today, looks like there’s been a breaking change of some sort on notions side.
Im on holiday at the moment, so can’t debug it further until next weekend. bad timing I’m afraid!
If anyone wants to figure it out in the meantime, I would start with printing the raw search response from notion, convert to json to pull it apart easily, and seeing where it doesn’t match with what the code is expecting / trying to parse.