Error polling getblocktemplate {"code":-4,"message":"Failed to parse wallet address"}
So the fix was that the address was cut in the config.json file due nano not displaying all the line.

So if you run into this problem check if the address is correct :)