Added error codes. Check if node is known before asking for data.