I noticed in slack that I’m facing an issue where slack notifications are no longer being sent through my GCP alerting policy, even though email notifications are still coming without any issues. I’ve been using this for months, slack alerts were working fine earlier, but today they stopped without any changes on my end.
I configured alerts for both slack and email separately in GCP Alerting policy.
Did anyone else face this issue? Is there any limit within gcp or slack that could be preventing from being sent?
Can anyone help me on this to fix?
When I checked the cloud logging, I’m getting this message “An internal error occurred while constructing the request to the Slack API.” Slack webhook url is working fine.
On GCP side. It has notification quotas, including a limit on the number of notifications sent to Slack within a certain timeframe.
Check Monitoring Quotas in the Google Cloud Console.
Navigate to: IAM & Admin → Quotas → Filter for “Monitoring Notifications”.
If the quota has been exceeded, you may need to request an increase or wait for it to reset.
On Slack side
Rate Limits: Slack imposes rate limits on incoming messages via webhooks.
If the rate is exceeded, Slack may reject some requests temporarily.
Message Formatting Errors: Ensure the payload adheres to Slack’s message formatting requirements.
Considering the logs says it an internal error occurred while constructing the request to the Slack API. You may want to look at what log entries you see on slack logs as incoming request from GCP to get the exact error message.