Trying to call parent function from override of same function in child?

I have a function that checks if your character can interact with an object. It is originally declared on a c++ class, then I have a BP (BP_A) derived from that c++ class, then finally a child BP of that BP (BP_B).
Inside BP_B I override the function and try to do a call on the parent for the function. UE4 throws back a compile error saying “Function Parent: Can Interact can modify state and cannot be called on ‘self’ because it is a read-only Target in this context”.

What am I doing wrong here? Thanks for any help.

The function must be const.

In c++ you can add the const modifier, and in blueprint (in 5.3) the option is hidden in the advanced panel:

  1. Click on your function
  2. Under advanced, checkout “const”