Hi team, I've connected Singular as a destination ...
# support
v
Hi team, I've connected Singular as a destination to receive app data. Initially, I encountered errors such as missing '*install_receipt*', '*property.asid'*, etc. However, I have since ensured that these values are being passed correctly and can confirm that they appear in the source payload. Despite this, I am still encountering the same errors. (Attaching screenshots for better reference) Please help!
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
v
I can see we are passing context.device.advertisingId.
m
Hi Rahul, you just have to call it asid. It is already in the properties object.
v
Yes, I can see both asid and advertisingId still seeing the error. What can be the reason?
m
What is the source you are sending from?
v
Flutter SDK
m
Hi Rahul, you may have to try out a few times here. You need to put these details in the options parameter. See these docs https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-flutter-sdk/supported-api/#setting-a-custom-id
👀 1
Hi Rahul, if you are still seeing this error, we can help you out with a user transformation
v
Hi @shy-kite-21035 Yes, I'm still seeing this error. Can you help me out here.
m
Can you try this transformation. Do test it out for your events
Copy code
export function transformEvent(event, metadata) {

const advertisingId = event.properties?.advertisingId; // Your advertisingId property preferably in properties

if (advertisingId) {

if (event.context.device) {

const device_obj = {...event.context.device};

device_obj.advertisingId = advertisingId;

event.context.device = device_obj;

}

}

return event;

}
👍 1