Enhanced Input Mapping to Text?

Hope the question makes sense. I have a working interact system, and have text that works in play saying; “Press to interact” - now I’m trying to change the text so that it pulls the mapped key so it displays like so; Press {BUTTON} To Interact - However, when I get my mapping in this case IA_Interact and I try to convert it from a boolean to anything else it just crashes. Any tips on how this can be done?