Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

New answers tagged

2 votes
Accepted

How to Avoid Heap Size Error on response body

In general, you can dump the unnecessary data to try and get your heap under control. You can do this by adding curly braces around the data you want to unload before Apex realizes you're over the ...
sfdcfox's user avatar
  • 493k
3 votes
Accepted

"message": "JSON request body must be an object at [line:1, column:2]","errorCode": "JSON_PARSER_ERROR"

When using method parameters in Apex, the parser expects a top level object that has a request element. In other words: json_body = { 'request': { 'jsonBodyList': data } } Further, you're double ...
sfdcfox's user avatar
  • 493k

Top 50 recent answers are included