Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix for "STRING_TOO_LONG, Full Mail Body: data value too large" #7

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

benjaminloerincz
Copy link

Some flow error emails are really, really long. Those emails result in an error when processed:

The apex class ErrorMailReceiver failed due to: System.DmlException: Insert failed. First exception on row 0; first error: STRING_TOO_LONG, Full Mail Body: data value too large: Debug the failed interview in Flow Builder for the interview GUID ...
Class.ErrorMailReceiver.handleInboundEmail: line 4, column 1

Adding ?.left(131072) solves this issue.

@rsoesemann rsoesemann merged commit d38f5f1 into rsoesemann:master Oct 9, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants