Document tag has bad quality

Hello! I have an array of structs that I am trying to render in a table in perspective.

TYPE iLog : STRUCT
   level: WSTRING(256);
   msg: WSTRING(256);
   timestamp: UDINT;
END_STRUCT
END_TYPE
_logs: ARRAY [0..99] OF iLog;

I am able to attach an OPC tag to the _logs array and view it within perspective. However, perspective says that the value is bad with the following error: Bad("Bad_DecodingError: Decoding halted because of invalid data in the stream."). I also assigned the datatype of the tag as Document.

Below is some info about the software I am using:

  • codesys v3.5
  • ignition edge 8.1.21
  • perspective 2.1.21

Please let me know if I can provide anymore info. Thank you!