Accessing and setting a blackboard key from a controller blueprint

I found the solution.

Instead of using the Patrol Location name variable I used a ‘MakeLiteralName’ node, which I guess ensures there is no space put between capital letters.