Passing an image in the notification payload leads to failure in sending notification
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.
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Bumping to 7.3.0 doesn't work either. @hiranya911 Can you help?
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?
Closing due to inactivity. We can reopen later if needed.