SAP Knowledge Base Article - Public

3496820 - Error While Creating Prospect Through Outlook Add-in Server-side Integration

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

  1. Open any email on outlook and keep the Add-in Plugin open as well. 

  2. Click on + icon in the Add-in and choose Account to create a Prospect.

  3. 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

Product

SAP Cloud for Customer core applications 2405