Local Rotation Not Working on Z-Axis

I am trying to have my character to rotate 180 degrees around the Z-axis by using the input action to do so which I bound to Q. It works on the X and Y axis when I input a degree but when I use the Z rotation no rotation occurs. I am not sure if I should be trying a different type of rotation, I have tried a relative rotation but achieved no results.

Works perfectly.

If your in a character, the capsule component is a bit of a special item. If your trying to rotate a character, I would recommend using Set Control Rotation instead. This rotates as if the player controller was rotating you, and is the more reliable method of rotating when possessing the character. You will want to get the player controller and drag off that to correctly set the control rotation.