I'm working on the callbacks into Salesforce. The callbacks are triggering just fine. And the provided code where we are uploading the signed documents into the document object is working perfectly. However, I need to upload the documents into Content Versions instead of the document library.
I keep getting the same error: System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
I've redone the code several times to get it to work. Just wondering if anyone else was having the same issue.
- Read more about Uploading Signed Documents to Salesforce Files, Getting Error
- 4 comments
- Log in or register to post comments
- 162 views