# Embedded view parameter may cause gateway faults (Message Too Big)

**URL:** <https://forum.inductiveautomation.com/t/embedded-view-parameter-may-cause-gateway-faults-message-too-big/82499>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 29, 2023, 10:28pm UTC](https://forum.inductiveautomation.com/t/embedded-view-parameter-may-cause-gateway-faults-message-too-big/82499 "2023-11-29T22:28:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![james.vosler](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@james.vosler](https://forum.inductiveautomation.com/u/james.vosler)\
**Post date:** [November 29, 2023, 10:28pm UTC](https://forum.inductiveautomation.com/t/embedded-view-parameter-may-cause-gateway-faults-message-too-big/82499/1 "2023-11-29T22:28:45Z")

</div>

It appears that embedded view components use the built-in messaging system to pass parameters. This means they are limited to the default 2M limit. This can be a problem when passing in large datasets. Does anyone know a workaround other than having the bottom level's (nested embedded component) table load the data directly?

[https://docs.inductiveautomation.com/display/DOC81/Perspective+Parameters#PerspectiveParameters-WebSocketMessageSize](https://docs.inductiveautomation.com/display/DOC81/Perspective+Parameters#PerspectiveParameters-WebSocketMessageSize)

> Websocket connection closed unexpectedly. code=1009, reason=Text message size [2165408] exceeds maximum size [2097152], codeMeaning=Message Too Big, codeDescription=The endpoint is terminating the connection because a data frame was received that is too large

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [November 29, 2023, 10:35pm UTC](https://forum.inductiveautomation.com/t/embedded-view-parameter-may-cause-gateway-faults-message-too-big/82499/2 "2023-11-29T22:35:54Z")

</div>

Where is the Dataset being generated from?

Rather than passing the dataset, generate the dataset in the view (Or only pass the part of the dataset that is needed).

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 29, 2023, 10:59pm UTC](https://forum.inductiveautomation.com/t/embedded-view-parameter-may-cause-gateway-faults-message-too-big/82499/3 "2023-11-29T22:59:42Z")

</div>

Have you tried setting the relevant parameters to "private" ?

---

<div class="post-metadata">

**Author:** ![james.vosler](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@james.vosler](https://forum.inductiveautomation.com/u/james.vosler)\
**Post date:** [January 11, 2024, 4:11pm UTC](https://forum.inductiveautomation.com/t/embedded-view-parameter-may-cause-gateway-faults-message-too-big/82499/4 "2024-01-11T16:11:10Z")

</div>

For context, this was in breakpoint container where the common code dealt with the context and filtering and the nested views displayed the data. It seemed a sensible way to set things up when we started.
