Skip to content
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

[Bug]: OneSignalSDK.DotNet.OneSignal.Login Not Working #128

Open
1 task done
honeyhead opened this issue Nov 4, 2024 · 3 comments
Open
1 task done

[Bug]: OneSignalSDK.DotNet.OneSignal.Login Not Working #128

honeyhead opened this issue Nov 4, 2024 · 3 comments
Labels

Comments

@honeyhead
Copy link

honeyhead commented Nov 4, 2024

What happened?

[OneSignal] [DefaultDispatcher-worker-1] HttpClient: Got Response = POST https://api.onesignal.com/apps/ef0653e2-1a57-4a2f-a88b-58c3f831e956/users - FAILED STATUS: 400
[OneSignal] [DefaultDispatcher-worker-1] HttpClient: Got Response = POST - STATUS: 400 - Body: {"errors":[{"code":"user-3","title":"Creating a User requires at least one Alias or Subscription"}]}
[OneSignal] [OpRepo] OperationRepo: execute response = FAIL_PAUSE_OPREPO

Steps to reproduce?

just  OneSignalSDK.DotNet.OneSignal.Login("externalid")

What did you expect to happen?

"user-3","title":"Creating a User requires at least one Alias or Subscription" fired

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nan-li
Copy link

nan-li commented Nov 4, 2024

Hi @honeyhead thanks for reporting this.

  1. Can you share the entire log before this log snippet?
  2. As well as more information about reproduction steps: what was the flow before calling login?

@nan-li nan-li added the Android label Dec 21, 2024
@moostende
Copy link

I have the same issue. Attached the logfile. Weird thing is that the notifications work on the Android Emulator (Pixel 5), but not on a real device (Samsung A51). Tried it with the app in focus and in the background.

log.txt

@snoova
Copy link

snoova commented Jan 18, 2025

Same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants