I created a alert that goes off when a disk usages reaches a certain threshold. The send mail functionality works fine when the alert only goes off on one instance, however when i have multiple instances firing i get no mail. If i go to my notification policy i see the following error:
failed to send notification to email addresses: email@domain.eu: gomail: could not send email 1: 501 5.6.0 Request body validation error. Duplicate content ID found in attachments: rMOB1ezoGHoZ84H3ygsO.png. Content IDs must be unique, case-insensitive.
did anyone else have this issue, how can i fix it. Im running on Azure Managed Grafana.
Welcome @raymonvt
Can you find any relevant logs in the Grafana server? Also, can you share the network tab details of the browser inspector tool when you see the error?
Thank you
@antonio @raymonvt
i am also getting the same issue related to grafana email contact point where in logs got Duplicate content ID found in attachments, anyone has any idea about it or got any solution for far?
Any suggestion would be really helpful. PFB logs for reference Thanks
logger=ngalert.notifier.alertmanager org=1 t=2025-04-23T12:14:32.231386691Z level=error component=alertmanager orgID=X component=dispatcher msg=“Notify for alerts failed” num_alerts=3 err=“test/email[0]: notify retry canceled due to unrecoverable error after 1 attempts: failed to send email: gomail: could not send email 1: 501 5.6.0 Request body validation error. Duplicate content ID found in attachments: JPAlgg.png. Content IDs must be unique, case-insensitive.”