Skip to content

Instantly share code, notes, and snippets.

@jsullivanlive
Last active April 19, 2022 17:16
Show Gist options
  • Save jsullivanlive/b052587acbfb3e0f151723c1d7881ec4 to your computer and use it in GitHub Desktop.
Save jsullivanlive/b052587acbfb3e0f151723c1d7881ec4 to your computer and use it in GitHub Desktop.
Salesforce LMA App Deleting Licenses

Started getting this error email a few times a day as the owner of the LMA batch job in Salesforce:

caused by: sfLma.SubscriberUpdateException.LicenseUninstallException: Expected 1 license to delete but found 2

Class.sfLma.SubscriberUpdate.licenseUninstall: line 141, column 1

Apparently the app is deleting license records, but why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment