I got the same problem but i created an blueprint interface called for example: RightMouseButton.
Now in the level blueprint i add:
input → rightmousebutton
connect the right mouse button pressed to the blueprint interface i just created
Now in the hud i go to blueprint props and add the right mouse button interface
and than add: event → rightmousebutton.
this will activate the right mouse button whenever pressed