Hello Rudderstack team, running into an issue gett...
# support
f
Hello Rudderstack team, running into an issue getting our data into OneSignal using the provided integration. thanks for reaching out. Unfortunately we haven't been able to get Rudderstack to work for us. Running into an issue with pushing data to Onesignal using the Rudderstack provided integration. We are trying to do the following: 1. Create user in our product 2. Our product calls Rudderstack with the event 3. Rudderstack finds Onesignal in the source destinations 4. Rudderstack calls Onesignal <- and here we have an error. It's hard to debug and get any information from there as we have no logs or anything. Looks like Rudderstack makes a PUT request to users endpoint on Onesignal but AFAIK there's no such an endpoint in the OneSignal docs. This is the error we're seeing in live events. cc @gentle-petabyte-80785
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but 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.
Hi Kenzo, can you try using an identify call instead of a track call? The identify call should be used to create the user.
f
Okay, trying this out.
m
Hi Kenzo can you share the event payload from the destination live event?
f
Event payload is as below:
Copy code
{
  "type": "track",
  "event": "UserCreated",
  "sentAt": "2024-01-16T16:43:27.111Z",
  "userId": "cmjb4ahpvm78jfu32eo0",
  "context": {
    "library": {
      "name": "analytics-go",
      "version": "1.0.0"
    }
  },
  "rudderId": "c4860b6c-9e5f-4aba-9e4d-3a72a3fe08fe",
  "messageId": "167e72f5-d9b6-439b-8670-cba1e9f4ffa2",
  "timestamp": "2024-01-16T16:43:22.077Z",
  "properties": {
    "email": "xxxxx@gmail.com",
    "userId": "cmjb4ahpvm78jfu32eo0",
    "customerId": "",
    "signupDate": "2024-01-16 16:43:22.077476793 +0000 UTC m=+1153.874161338",
    "countryCode": "US",
    "languageCode": "en-US",
    "enableProductEmails": false,
    "enableMarketingEmails": false
  },
  "receivedAt": "2024-01-16T16:43:22.313Z",
  "request_ip": "54.200.20.68",
  "anonymousId": "cmjb4ahpvm78jfu32eo0",
  "integrations": {
    "oneSignal": {
      "deviceType": "6",
      "identifier": "16def28d-795b-4646-9e1f-fa8f20dd5673"
    }
  },
  "originalTimestamp": "2024-01-16T16:43:27.111Z"
}
m
Oh ok. Let me check test this out and get back to you.
👍 1
I have raised a ticket for this and the team is working on it.
g
@fancy-artist-2809 This was due to a deprecated OneSignal endpoint. The team is working on a fix for this.
f
Okay, appreciate the update.
@gentle-petabyte-80785 any idea on ETA for this fix?
m
No there is isnt an ETA on this but the team is taking this up on Priority.
👍 1
f
@shy-kite-21035 @gentle-petabyte-80785 any update on this? If there is no ETA we will need to start looking at other solutions that do work with OneSignal.
m
Hi Kenzo, the team has not provided any estimate yet but I have asked them to take this up on priority so I should be able to provide an ETA by tomorrow.
🙏 1
g
@fancy-artist-2809 I was checking the conversations on this issue. Adding more context for you: This issue is due to the changes on OneSignal end. The team has been brainstorming the best possible way here. Rest assured, it will be fixed soon. Quoting the conversation from the team
If you are still using the pre-User Model APIs or SDKs (Mobile SDKs 4 or less, Web SDK 15 or less), then we advise testing this endpoint before switching. There may be cases where the External ID set with the SDK and the External ID set with the API do not produce matching OneSignal IDs. The endpoint used for the above call is now deprecated.
👍 1
f
@gentle-petabyte-80785 @shy-kite-21035 any update on the fix?
m
We have a tentative timeline that this should be released by the end of this month
👍 1
f
@shy-kite-21035 any update on this?
g
Hey @fancy-artist-2809, I don't see any PR being merged for this yet. I will follow up with the team for more details.
The team is working on it
👍 1
f
@gentle-petabyte-80785 we're very eager to start using Rudderstack with OneSignal but have been blocked on this for close to two months. Do you have a better ETA for this as we're most likely switching to another solution that we can get working sooner.
👀 1
g
Hi Kenzo, can understand. Let me collaborate with the team to see how we can expedite it. Will get back to you asap.
🙏 1
Just learned from the team that the fix for this issue was released earlier today. Please check and let me know if there's still any issue.
👀 1
f
Unfortunately this looks like this is still returning the same error on our end.
m
Hi Kenzo, I am checking with the team on this. In the meantime can you try send an Identify event (see sample) before sending a track event?
Yes the team confirmed that you need to send an identify event before the track event to OneSignal