- The Apex exception error, “You have uncommitted work pending - JSON string exceeds heap size limit Refer attached” was resolved.
To avoid reaching Salesforce’s attachment size limit, users should only add files that are less than 7MB to 8MB. If a file is larger, users must compress it before uploading it to see the created Logs.