We encountered an error whilw trying to connetc. Details: "We cannot apply field access to the type Null."

We encountered an error whilw trying to connetc. Details: “We cannot apply field access to the type Null.”
I have this problem when I try to open my file from Power Bi which comes from revit 2025