I have batchable class that makes the web-service(REST API) callout to remote service. In developer sandbox, it is working.
In fullcopy sandbox, it is NOT working and giving following error during webcallout:
System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
Not sure what is going on. Looks like I am missing something.
Please provide some help.