Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Migration of Audience From One Sandbox to Another in AEP

Avatar

Level 3

What is the way to import an audience from one sandbox to another sandbox as I am getting an error message with the JSON structure as follows: [
  {
    "taskType": "POST",
    "taskStatus": "ERROR",
    "artifact": {
      "id": "f586d30d-56ca-4a4d-86be-794bf2e25dc8",
      "type": "PROFILE_SEGMENT",
      "found": false,
      "count": 0,
      "messages": [
        {
          "status": "FAIL_QUICKLY",
          "attempt": 1,
          "message": "com.adobe.aep.devex.rest.RestException: {\"requestId\":\"6fM00xDxom8eNpf8MLACKScEqHE1sMMh\",\"errors\":{\"400\":[{\"code\":\"200\",\"message\":\"Missing schema field: \\\"Retail_FirstName\\\". Fields in the schema are [BirthYear, CustomerAI, DOB, FirstName, Gender, LastName, customerSatisfactionScore, demoEnvironment, description, domainGroup, eyEmail, homeOfficeLocation, identification, identifiers, individualChara"
        }
      ]
    }
  }
] , how to fix this error or any suggestions on the successful way to do it will be helpful

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ribhubanerjee - Happy to know this, in this case please mark it as correct answer 

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @ribhubanerjee  - You can use sandbox tooling for doing the same. Please note that there are some limitations when you use sandbox tooling. The audience should be created by using Segmentation Service and not audience composition.

 

From the error you are facing, it seems that the schema on the environment which you are migrating the audience to does not have the fields which you have used to create the segment.

 

Can you please confirm that.

 

Thanks!

 

 

Avatar

Level 3

Hi @arpan-garg , double checked it and what you said was correct, there was columns missing in target sandbox.

So, for solving this we have to migrate the schema with the required columns that matches segment definition and then we migrate the segment.

Avatar

Correct answer by
Community Advisor

Hi @ribhubanerjee - Happy to know this, in this case please mark it as correct answer