firebase-admin-java icon indicating copy to clipboard operation
firebase-admin-java copied to clipboard

Passing an image in the notification payload leads to failure in sending notification

Open anmol1vw13 opened this issue 3 years ago • 2 comments

com.google.firebase.messaging.Notification is used to send title and body of a notification. This class also has a provision to send an image. The Notification fails with errors as soon as the image is passed. Is there some limitation on the size of the image? Image being passed is https://i.imgur.com/3dnoKBG.png

Types of Errors

  • Unknown error while making a remote service call: Couldn't kickstart handshaking
  • Unknown error while making a remote service call: Remote host terminated the handshake
  • Timed out while making an API call: Read timed out

Maven dependency being used

<dependency>
			<groupId>com.google.firebase</groupId>
			<artifactId>firebase-admin</artifactId>
			<version>7.0.0</version>
</dependency>

Please help me understand the root cause. PS: This is a springboot application.

anmol1vw13 avatar Sep 14 '22 06:09 anmol1vw13

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Sep 14 '22 06:09 google-oss-bot

Bumping to 7.3.0 doesn't work either. @hiranya911 Can you help?

anmol1vw13 avatar Sep 15 '22 12:09 anmol1vw13

Hi @anmol1vw13, are you still experiencing this issue on the latest version of the SDK? If so, could you provide us with a more detailed error message that you are getting or a minimal repro?

lahirumaramba avatar Dec 19 '22 22:12 lahirumaramba

Closing due to inactivity. We can reopen later if needed.

lahirumaramba avatar Mar 14 '23 18:03 lahirumaramba