Symptom
User encounters the below error while creating a prospect through the server side Outlook add-in.
Error:You cannot create the object.Error:Object reference not set to an instance of an object
Environment
SAP Cloud for Customer.
Reproducing the Issue
-
Open any email on outlook and keep the Add-in Plugin open as well.
-
Click on + icon in the Add-in and choose Account to create a Prospect.
-
Fill in the prospect Account details and click on save, post which you will see the below Error.
Error:You cannot create the object.Error:Object reference not set to an instance of an object
Cause
The Role field is missing or hidden in the outlook add-in.
Resolution
The Role field is a required field from API end while creating a prospect. Hence, the role field must be visible in outlook add-in.
Keywords
Prospect, Outlook add-in, server-side Integration , KBA , LOD-CRM-GW-SCC , Invisible CRM - Smart Cloud Connect Solution , Problem