Camera movement/rotation issue

It’s code not BP, and what kind of error could I be doing there? It’s a single line.

Tried local and relative too, makes no difference.