Overview
This article explains the cause and resolution for the Gift Transaction Id: data value too large error that may appear in the Error Logs within Payments2Us.
The error commonly appears as:
Program Area: paymentTxnExtShareLockProcessor.paymentLock
Subject: Gift Transaction Id
Description: data value too large: xxxxxxxxxxxxxxxxxx} (max
length=18)
The log lists multiple Payment Transactions with the above message.Ā
Ā
What the Error Means
The error typically occurs when a flow or automation passes an invalid Gift Transaction IDāfor example, including an extra character such as a closing brace (})ācausing it to exceed Salesforceās maximum 18-character ID length limit.
This usually occurs when:
- A flow was created where the Gift transaction ID is passed
Ā
Causes:
- Custom flows or automations inserting or updating the Gift Transaction ID field with malformed values.
- Conditional flows that trigger inconsistently, explaining why resetting the Payment Txn can sometimes bypass the issue.
To confirm, temporarily disable custom flows affecting Gift Transactions or Payment Txns and re-test.
Ā
Recommended Actions:
-
Review Flows and Automations:
- Check any custom Flows, Process Builders, or triggers updating Gift Transaction IDs.
- Look for cases where an extra character or symbol is being appended to the record ID.
-
Test by Disabling Flows:
- Temporarily disable relevant flows and reprocess the transaction to confirm the source.
-
Validate Field Values:
- Ensure that all Gift Transaction IDs being passed are exactly 18 characters.
- Remove any stray braces or formatting characters.
-
Reprocess Transactions:
- Once corrected, reset the affected Payment Txn Status to NPC Processing Start and re-run NPC Processing.
Ā