UA_MonitoredItemAddList function block error code 2952790020 after migrating from AS 4.12 to AS 6.5

Hello,

Are those variables local or global? Local variables are specified without a task name in the AS6 OpcUa_Sample.

Are those variables used in the code? Couldn’t it be somehow connected to this post?