Ok thanks, this way it seems that it has not given error again.try requesting 2 times with a delaysometimes it returns empty value or check for empty value:local latest [/system package update get latest-version]
:delay 1
:set latest [/system package update get latest-version]