Back

No valid recipients found.

  • 0
  • Self Hosted
  • Messaging
Daniel
27 May, 2024, 12:45

Hello There! I am using the messaging API to send a push notification on Android from Java SDK via a Cloud Function but it fails. I get "No valid recipients found." even though the user ID and target ID are correct.

TL;DR
Developers are encountering an issue where the setEndpoint method is giving a java Ambiguous error. The problem lies in the code implementation. The user ID and target ID are correct, so the issue is likely not related to recipient information.
Batman
27 May, 2024, 12:46

hey daniel whenever i'm using the setEndpoint method it gives me java Ambiguous error can you help me to resolve this issue ?

Daniel
27 May, 2024, 12:47
Daniel
27 May, 2024, 12:47

You can find the java code here ^^

Daniel
27 May, 2024, 12:47
Daniel
27 May, 2024, 12:47
Daniel
27 May, 2024, 12:48
Daniel
27 May, 2024, 12:48

You can see the above IDs are correct. Perhaps I am missing something in the code?

Batman
27 May, 2024, 12:49

hey daniel whenever i'm using the setEndpoint method it gives me java Ambiguous error can you help me to resolve this issue ?

Daniel
27 May, 2024, 12:52

I have replied on your thread

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more