You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to call OneSignal.Login and addTags methods I get this error for the operation named "login-user" on the logs sometimes:
POST - STATUS: 400 - Body: {"errors":[{"code":"user-3","title":"Creating a User requires at least one Alias or Subscription"}]}
when I check the subscription with the subscription id on onesignal panel, I see that there is a subscription with the state "never subscribed" and even if I allowed the notifications I see the "permission not granted" tag.
also it seems that the subscription cannot be created after closing and reopening the app.
Steps to reproduce?
1- Run the app.
2- Call Onesignal.Login and addTags()
What did you expect to happen?
I expect to set the data tags and the external id successfully.
OneSignal Android SDK version
Release 5.1.15
Android version
15, 14, 13, 12, 11, 10
Specific Android models
No response
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
bundleberk
changed the title
[Bug]: Cannot set tags and external id to the user on sdk 5.1.15 sometimes
[Bug]: Cannot set tags and external id to the user sometimes
Dec 16, 2024
What happened?
When I try to call OneSignal.Login and addTags methods I get this error for the operation named "login-user" on the logs sometimes:
POST - STATUS: 400 - Body: {"errors":[{"code":"user-3","title":"Creating a User requires at least one Alias or Subscription"}]}
when I check the subscription with the subscription id on onesignal panel, I see that there is a subscription with the state "never subscribed" and even if I allowed the notifications I see the "permission not granted" tag.
also it seems that the subscription cannot be created after closing and reopening the app.
Steps to reproduce?
What did you expect to happen?
I expect to set the data tags and the external id successfully.
OneSignal Android SDK version
Release 5.1.15
Android version
15, 14, 13, 12, 11, 10
Specific Android models
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: