0

When trying to save data in an external object the following error occurs:

FATAL_ERROR|System.UnexpectedException: A callout was unsuccessful because of pending uncommitted work related to a process, flow, or Apex operation. Commit or roll back the work, and then try again.

Can anybody help me?

  • In these cases what will help the community is if you can describe the process, how are you saving the data. Is there any DML happening (Check debug logs), because this error usually comes when you have done a DML and a callout is invoked. – manjit5190 Apr 2 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.