Status code BadNodeIdUnknown when reading attributes from a variable in namespaceindex 0 |OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Status code BadNodeIdUnknown when reading attributes from a variable in namespaceindex 0
Avatar
Mikael Eklund
Member
Members
Forum Posts: 7
Member Since:
02/07/2017
sp_UserOfflineSmall Offline
1
02/23/2026 - 07:12
sp_Permalink sp_Print sp_EditHistory

Hi,

Is it allowed for an OPC UA server to respond status code BadNodeIdUnknown when an OPC UA client reads attributes from a Variable belonging to namespace index 0?
The Variable is in an ObjectType in namespace index 0.

Example:
Assuming an OPC UA client is browsing object type ServerDiagnosticsType (i=2020) and getting a HasComponent reference to Variable SamplingIntervalDiagnosticsArray (i=2022).
When reading the attributes for the Variable the OPC UA server returns BadNodeIdUnknown for all the attributes.

Is this allowed according to the specifications?

 

Thanks

Avatar
Randy Armstrong
Admin
Forum Posts: 1663
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
02/24/2026 - 23:16
sp_Permalink sp_Print

No. If a type is in the address space all attributes must be readable.

Optional attributes may be omitted with BadAttributeIdInvalid.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Smruthi Ramesh
Guest(s) 28
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1512
Posts: 5119