-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create notification with include_aliases failed #38
Comments
Same issue here. I'm trying to migrate from device-centric to the user-centric model. From the app everything works. Now I'm writing a migration script that loops over all subscription IDs of a user. For the first subscription, it gets the onesignal_id using Then it creates an alias by doing For the rest of the subscriptions connected to a user, I transfer the subscriptions using I've tested this approach manually and it seems to work. I have now ran my script on 1 user and when I get that user by However, when I now try to send a notification, I get this:
Thoughts, @emawby? |
It happens when notifications permission is not enabled by user on device. |
@malikmajai I could see the logic there, but sending a notification to that |
This is still happening for today, do anyone has a workaround on this or should we just send to each individual user? |
How can we help?
Hello,
I am using create notification API with included_aliases to send the notification to the specified user by external_id.
But it is failed. It return the
invalid_aliases
.What's wrong?
Please help me to fix it.
Thank you so much!
Code of Conduct
The text was updated successfully, but these errors were encountered: