Expand my Community achievements bar.

Issue in Creating a Mapping set for a destination data flow using AEP API's

Avatar

Level 1

Hi,

 

Need help with error received when creating mapping set for a destination data flow using API. This error is received at create mapping step in this document.  https://experienceleague.adobe.com/docs/experience-platform/destinations/api/activate-segments-file-...

 

Error:

{
"status": "FAILED",
"source": "segmentMembership.seg_namespace.seg_id.status",
"destination": "segmentMembership_status",
"sourceType": "text/x.schema-path",
"errors": [
{
"exception": "The XDM path: segmentMembership_status is invalid. Please update the XDM path and try again.",
"errorCode": "MAPPER-3809-400",
"errorType": "ERROR",
"missingRequiredFieldError": false
}
],
"warnings": [],
"hasMissingRequiredFieldMapping": false,
"destAccessEnabled": true,
"accessDeniedOnRequiredField": false,
"srcAccessEnabled": true
},
 
UpasnaSh_0-1705522434055.png

 

 Any help is appreciated!
Thanks.
 
2 Replies

Avatar

Level 2

Your mapping for the segmentMembership_status looks fine to me, but I don't think you need the \\ escaping the periods on the first name and contactID mappings. Those are only needed if you're referencing an identity namespace with a period in the string. It looks like those are just standard XDM paths. That should fix those.

 

Can you share which connection spec ID you used to create your output schema? I'm guessing the segmentMembership_status has something to do with the output schema that was created.

 

Something else you can do too is create this mapping in the UI, then use the API afterwards to pull out the created mapping set. That way you have a known working payload to use a comparison to see what's different from your request.

Avatar

Level 1

Thank you for your response. I have tried using the working payload but no luck.

 

I am using Amazon S3 connection spec (4fce964d-3f37-408f-9778-e597338a21ee) for output schema.

 

https://platform.adobe.io/data/foundation/flowservice/connectionSpecs/4fce964d-3f37-408f-9778-e59733...