hundreds-hospital-47099
12/13/2023, 1:48 AMjavascript
rudder.identify({ userId: userTokens.userId, anonymousId: userTokens.unknownId, traits: { firstName: customer.name, email: customer.email, phone: customer.phoneNumber, city: customer.address ? customer.address.city.name : null, state: customer.address ? customer.address.state.name : null, country: 'Brazil', }, integrations: { oneSignal: { deviceType: 5, identifier: '657763981ac71deacd17b092', }, }, });millions-activity-52391
12/13/2023, 1:48 AMmillions-activity-52391
12/14/2023, 11:32 AMmillions-activity-52391
12/14/2023, 11:33 AMhundreds-hospital-47099
01/04/2024, 10:40 PMhundreds-hospital-47099
01/04/2024, 10:42 PMI've tried every way to create a new subscription in one signal but it all returns the following message:
{
"error": "Correct identifier is required for creating a device (identify call)"
}millions-activity-52391
01/08/2024, 11:49 AMshy-kite-21035
01/08/2024, 11:49 AMclient.identify({
userId: "1hKOmRA4GRlm",
traits: {
name: "Alex Keener",
email: "alex@example.com",
plan: "Free",
friends: 21,
},
context: {
externalId: [
{
type: "playerId",
id: "Df344sdFgdDsS4"
}
],
integrations: {
oneSignal: {
deviceType: 5,
identifier: '657763981ac71deacd17b092'
}
},
}
})