SAP Knowledge Base Article - Public

2567147 - Error Message "Status is not valid." When Migrating Leads


You are trying to import Leads using Migration Tool, but you are getting the error message "Status is not valid." for some records in step Simulate Import.

PS: This scenario could also be found with the error "Service call failed".


SAP Hybris Cloud for Customer 1711 and higher.

Reproducing the Issue

  1. Go to Business Configuration work center;
  2. Search for Migration of Leads;
  3. Open the activity;
  4. Click Migrate leads using the migration tool;
  5. Select the template;
  6. Click Execute Migration and choose Step by step;
  7. Receive error at step Simulate Import.


The records that had error have the status Declined in the template, but they cannot be created directly with this status and they cannot be updated to this status without having a certain status before that.


You need to create / update the Lead with an acceptable status that can be updated to Declined later.

For example, if you are creating a Lead, you need to create it with status as "Qualified", that can then be changed to Declined.

In case you are trying to modify already existing leads, a lead with status as "Open" can't be declined right away, their status need to be changed to "Qualified" and then you will be able to decline it.

PS: The status flow is the same for updating leads in UI, so you can check it to find the options available according to the current status.


migration of leads, status declined, change status, error message, status not valid , KBA , LOD-LE-MIG , LEAP Migration , LOD-CRM-LM , Lead Management , Problem


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions