See 'System.CalloutException' when I attempt to create new Emma Group from Salesforce report

  • 3
  • Problem
  • Updated 3 years ago
  • Acknowledged
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.

When I try to create a new Emma Group within Salesforce using a Salesforce Report, I see a System.CalloutException error message.

Here's what I'm doing:
  1. Within Salesforce, I select 'Emma Email Marketing' from the App Menu
  2. I select the Emma Groups tab
  3. I enter a group name, check the 'Also Add Members from Salesforce Report' checkbox, then choose a report that I had previously set up
  4. I click the Save button
My browser then shows this error message:

Visualforce Error

System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out
An unexpected error has occurred. Your solution provider has been notified. (emma)

I've checked the Emma Setup tab -- all three setup steps show a green check mark.

I'm using Firefox version 40.0.

Please let me know if you need more information. Thank you!
Photo of David Balsley

David Balsley

  • 5 Posts
  • 2 Reply Likes

Posted 4 years ago

  • 3
Photo of Benton Cummings

Benton Cummings, Senior Manager, Customer Support

  • 491 Posts
  • 52 Reply Likes
Hi David,
The trouble you're seeing has to do with how the integration communicates through our open API, and we're hoping to be super close to wrapping up the regression testing on an upgraded version of the integration (what we call the Connected App version) that will completely rework how the integration uses the API. As soon as we wrap up the regression testing work, we'll begin to push that to additional customer accounts. Please follow the thread here to get up to date details on the road to releasing the Connected App version of the integration.

We're not entirely sure that the reworked version of the integration will fix the specific trouble occurring between your Salesforce and Emma accounts, but because of the major changes implemented in this version, we need to have this in place first. It’s very possible that this will correct the problem you’re seeing, but if not, we can immediately address the issue you’re having here.


I'll also connect with you via email to get some info on your Emma account so we can log this issue with the appropriate account.
Photo of Girls Leadership Institute

Girls Leadership Institute

  • 36 Posts
  • 3 Reply Likes
Hi Benton,

Thanks for your response. We've granted Emma login access for one week. Thanks for taking a look!

Dorothy
Photo of Benton Cummings

Benton Cummings, Senior Manager, Customer Support

  • 491 Posts
  • 52 Reply Likes
Hi Dorothy,

We jumped into your account to take a look, and the issue is indeed related to how the integration communicates with our open API. This is a situation where the integration won't be able to sync your leads over to the Emma audience group, so you'd need to export those leads to a spreadsheet and manually import that into your Emma audience group.

As mentioned above, we're hopefully close to completing testing on a new version of the integration, which we're hoping will eliminate errors of this nature from happening. Feel free to follow along with updates on the progress of the Connected App version of the integration here.
Photo of Hatch the Future

Hatch the Future

  • 1 Post
  • 0 Reply Likes
Any updates? We're having the same problem!
Photo of Benton Cummings

Benton Cummings, Senior Manager, Customer Support

  • 491 Posts
  • 52 Reply Likes
Hi Hatch,
We're posting regular updates on our progress in releasing the new version of our Salesforce integration on this community thread. I'd definitely recommend heading there to read up on the progress, and follow that thread to get updates emailed to you as they are announced.

Thanks so much!
Photo of Sumithra Sudhir

Sumithra Sudhir

  • 13 Posts
  • 0 Reply Likes
I am getting the same error. Any updates on when this will be fixed?
Photo of David Balsley

David Balsley

  • 5 Posts
  • 2 Reply Likes
Hi, Benton! Thank you for your help! I'll watch for updates on the regression testing. 

Thanks again!
Photo of Benton Cummings

Benton Cummings, Senior Manager, Customer Support

  • 491 Posts
  • 52 Reply Likes
Hi folks,

I know it's been quite a while since there's been any activity on this thread, but I wanted to make sure that I closed the loop here, and let you all know that we very recently announced a brand new working version of the Emma for Salesforce integration! You'll find details in the Official Reply in this thread.

Please head there, and update to the newest version if you haven't done so already.

Thanks, and I hope this update finds you all well!