diff --git a/src/v0/destinations/fb_custom_audience/util.js b/src/v0/destinations/fb_custom_audience/util.js index 19f93d557a..24650f03f4 100644 --- a/src/v0/destinations/fb_custom_audience/util.js +++ b/src/v0/destinations/fb_custom_audience/util.js @@ -49,7 +49,7 @@ const batchingWithPayloadSize = (payload) => { }; const getSchemaForEventMappedToDest = (message) => { - const mappedSchema = get(message, 'identifiers'); + const mappedSchema = get(message, 'fields'); if (!mappedSchema) { throw new InstrumentationError( 'identifiers is required property for events mapped to destination ',