Forum Discussion
Nitin_D_R
Jan 24, 2024Copper Contributor
Teams WebHook Icon appearing with a blocked sign
Hello there! I'm using a WebHook to post the Airflow Notifications through Teams Incoming WebHook. Everything was working fine until recently the WebHook icon is appearing with a blocked sign a...
Nitin_D_R
Jan 28, 2024Copper Contributor
I even created the new WebHook to test. But the issue remains the same!
Meghana-MSFT
Jan 28, 2024Former Employee
Could you please let me know if others are also seeing this blocked sign on this icon?
- Nitin_D_RJan 28, 2024Copper ContributorAll of the Organization members are seeing the sign!
- Meghana-MSFTFeb 08, 2024Former EmployeeApologies for the delay, we raised a bug for this issue, we will keep you posted on the updates. Thank you.
- Nitin_D_RFeb 11, 2024Copper Contributor
Meghana-MSFT
I'm using the below Lambda function to connect the WebHook to an AWS SNS(Simple Notification Service) topic, Is it the issue with this lambda function? can you try to reproduce the scenario from your end?import urllib3 import json http = urllib3.PoolManager() def lambda_handler(event, context): url = "YOUR WEBHOOK URL" msg = {"text": event["Records"][0]["Sns"]["Message"]} encoded_msg = json.dumps(msg).encode("utf-8") resp = http.request("POST", url, body=encoded_msg) print( { "message": event["Records"][0]["Sns"]["Message"], "status_code": resp.status, "response": resp.data, } )