Hello everyone.
I have developed a MS Dynamics integration that uses the XRM SDK to create phoneCalls. One of the customers that uses the integration, however, is having an error when trying to create a call. I did some debugging, and the error that is being thrown says:
"Unexpected exception from plug-in (Execute): ****.Crm.Plugins.PhoneCall.SetCampaignResponse: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary."
To be more specific, this error happens whenever I call the IOrganizationService.create to try to create the call in the customer's MSDynamics instance.
I understand that this error is thrown when the code tries to access a non-existing property from a dictionary, but I couldn't extract any more useful information from the stack trace. I believe it would help a lot to figure out which key is not present in the payload or at least how can I get more details about this error.
Any help would be appreciated.
*This post is locked for comments