# Document tag has bad quality

**URL:** <https://forum.inductiveautomation.com/t/document-tag-has-bad-quality/93601>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 23, 2024, 2:01pm UTC](https://forum.inductiveautomation.com/t/document-tag-has-bad-quality/93601 "2024-07-23T14:01:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![face\_plant](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@face\_plant](https://forum.inductiveautomation.com/u/face_plant)\
**Post date:** [July 23, 2024, 2:01pm UTC](https://forum.inductiveautomation.com/t/document-tag-has-bad-quality/93601/1 "2024-07-23T14:01:36Z")

</div>

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

```st
TYPE iLog : STRUCT
   level: WSTRING(256);
   msg: WSTRING(256);
   timestamp: UDINT;
END_STRUCT
END_TYPE

```

```st
_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!
