Get Started with Communications, Media, and Energy (CME) Common APIs
Documentation Changelog
Introduction
FAQ
Troubleshooting
Diagnostic Tool for Standard Cart APIs
Ensure that you have followed Post Upgrade Steps.
Following are some of the troubleshooting scenarios.
Run the VALIDATION FOR DATA INTEGRITY tool before before initiating the Standard Cart API’s Generate Compiled Data job.
This helps in identifying and resolving common data setup issues and ensures that data compilation process is smooth and efficient.
VALIDATION FOR DATA INTEGRITY tool.


The Generate EPC Compile Data Job fails with the following error.

Perform the following steps to fix the issue.

False. Click Save. Start the Generate EPC Compile Data Job again.
The Generate EPC Compile Data Job fails at the Compile Product Hierarchy step. To see the detailed error message:

Perform the following steps to fix the issue.


This job populates PriceBookEntryId__c field on the PriceListEntry__c. This job assumes that for every combination of PriceBook Id and Product Id, there is a PriceBookEntry__c record exists.
If PriceBookEntry__c entry is missing, then it creates one and assigns the pricebook Id in appropriate PriceBookEntryId__c field of the PriceListEntry__c. In case of multi-currency environment the job associates PriceBookEntry__c and PriceListEntry__c based on the currencyIsoCode.
1{
2"methodName" : "startPopulatePBEInPLEBatchJob"
3}1[
2{
3"statusCode": 200,
4"type": "rpc",
5"tid": 6,
6"ref": false,
7"action": "rs_pc.CMTAdminController",
8"method": "telcoAdminConsloleInvokeMethod",
9"result": {
10"hasErrors": false,
11"parameters": "{\"methodName\":\"startPopulatePBEInPLEBatchJob\"}",
12"populatePBEInPLEBatchJobs":
13[
14{
15"Id": "7075w0000LWtJhnAQF",
16"Status": "Holding",
17"NumberOfErrors": 0,
18"CreatedDate": 1720085210000,
19"JobItemsProcessed": 0,
20"ApexClassId": "01p5w00000KsSsMAAV",
21"TotalJobItems": 0,
22"ApexClass": {
23"Name": "PopulatePriceBookEntryIdInPLEJob",
24"Id": "01p5w00000KsSsMAAV"
25 }
26 }
27 ]
28 }
29}
30]The CMTAdminController invokes the actual job with 2000 records per batch. In case of large PriceListEntry records, you might face Batchable instance is too big error.
This happens because PopulatePriceBookEntryIdInPLEJob class implements Database.Stateful and short of heap size issue can occur.
To overcome this issue, run the job manually from the developer console. Currently, 2000 records run per batch that needs to be increased.
This is the sample code with 5000 records.
1Database.executeBatch(new PopulatePriceBookEntryIdInPLEJob(), 5000);