Hi I am trying to connect to systemLink server using api key authentication. But when i try and run my code i get this error

Here is my code

I ahve used this method to create a api key https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q0000019f5JCAQ&l=en-AU