VaRest help with writing variables to

Afer further testing I come to the evidence that the problem is the function called is notvalid but why?