Skip to content

Commit dba10d2

Browse files
committed
added base message. Still new more information.
1 parent 724977d commit dba10d2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

powerapps-docs/developer/common-data-service/troubleshoot-plug-in.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,19 @@ You can register the plug-in to run in the context of a user known to have the c
7070
<!-- But if you prefer that the logic in your plug-in adapt to the privileges that the calling user has, you really need to verify the user's privileges in your code.
7171
7272
TODO: Add content that shows how to do this -->
73+
74+
## Error: Message size exceeded when sending context to Sandbox
75+
76+
Error Code: `-TODO`<br />
77+
Error Message: `Sql error: 'Message size exceeded when sending context to Sandbox. Message size: ### Mb'`
78+
79+
This error occurs when a message payload is greater than `TODO` MB **AND** a plug-in is registered for the message. The error message will include the size of the payload that caused this error.
80+
81+
The limit will help ensure that users running applications cannot interfere with each other based on resource constraints. The limit will help provide a level of protection from unusually large message payloads that threaten the availability and performance characteristics of the Common Data Service platform.
82+
83+
`TODO` MB is large enough that it should be rare to encounter this case. The most likely situation where this case might occur is when you retrieve a record with multiple related records which include large binary files.
84+
85+
If you encounter this error you can:
86+
87+
1. Remove the plug-in for the message. If there are no plug-ins registered for the message, the operation will complete without an error.
88+
2. If the error is occurring in a custom client, you can modify your code so that it doesn't attempt to perform the work in a single operation. Instead, write code to retrieve the data in smaller parts.

0 commit comments

Comments
 (0)