Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Error when creating new phoneCall entity due to marketing campaign response

$
0
0

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. 


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>