[solved] GAS: SetHealth cheat, how to pass value

I’m trying to make a console cheat that would set player health to a given value, e.g. “SetHealth 50”.
I’ve made a GE that modifies the attribute with “Set By Caller” Magnitude Calculation Type.
I’ve set it up like this in CheatManager:

When I call it nothing happens and I get this warning:
LogAbilitySystem: Warning: UAbilitySystemBlueprintLibrary::AssignSetByCallerTagMagnitude called with invalid SpecHandle

What am I doing wrong?

EDIT:

Found the correct way

i dont use GAS but my two guesses,

  1. it probably needs a valid instigator/causer
  2. Enusre it has world context otherwise GetPlayerPawn could fail