Line: 13, Column: 1
System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
how can i fix this error
Sorry you're stuck but there's almost always a pretty easy fix! Do NOT try to start all over again, eg. uninstall Max's Pitch Package, etc. That can make things worse.
​
Before you post make sure you check the Help FAQ for an instant solution first. Then, if you can't find it there, you can post your problem here and we'll get to it ASAP (within 24 hours), but be sure you:
​
post in the right category
INCLUDE AT LEAST ONE SCREENCAP IN YOUR POST TO SHOW THE PROBLEM!!!!!!!!
explain the problem clearly
You didn't get your Flow created properly and where the instrucitons said to make sure it match everything in the screencap or cancel and go back and redo, you went ahead with it anyway. Now, it's kind of a pain to delete so you can remake it. Here's the instructions on how to delete it and remake it:
Just be sure to follow the steps all correctly and it will work, ok?