SAP Knowledge Base Article - Public

3065017 - Error : Create not allowed for properties: LeadID. Check metadata for LeadTextCollectionCollection

Symptom

You are getting the error when uploading Leads using Data Workbench.

Error: Create not allowed for properties: LeadID. Check metadata for LeadTextCollectionCollection when you are trying to upload the Lead Notes in Data Workbench

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to Data Workbench and select Import.
  2. Select the Individual Object and then Insert.
  3. Choose Lead Notes from the Standard Object and then upload the data file.
  4. Once the upload is done, you can see that the Data Workbench task got into error.
  5. Download the Error file and you can see the error, Create not allowed for properties: LeadID. Check metadata for LeadTextCollectionCollection.

Cause

This error is getting raised because of the Lead ID field in the Data file. The field Lead ID is creatable = False in the LeadTextCollectionCollection.

Resolution

  1. Clear all the values from the Lead ID.
  2. Pass values in the LeadExternalKey field. (You can export the Lead external key in Data workbench from the Lead Object using the Lead ID)

Keywords

Lead, DataWorkbench, LeadTextCollectionCollection, , KBA , LOD-CRM-INT-DWB , Data Workbench , How To

Product

SAP Cloud for Customer add-ins all versions