Hi all!
I using this module to send all alerts of the AWS, but when this function run occurs this error.
What is the problem? Security Group?
Thanks!
[ERROR] HTTPError: HTTP Error 404: Not Found Traceback (most recent call last): File "/var/task/notify_slack.py", line 84, in lambda_handler notify_slack(subject, message, region) File "/var/task/notify_slack.py", line 77, in notify_slack urllib.request.urlopen(req, data) File "/var/lang/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout)
[ERROR] HTTPError: HTTP Error 404: Not Found Traceback (most recent call last): File "/var/task/notify_slack.py", line 84, in lambda_handler notify_slack(subject, message, region) File "/var/task/notify_slack.py", line 77, in notify_slack urllib.request.urlopen(req, data) File "/var/lang/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/var/lang/lib/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/var/lang/lib/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/var/lang/lib/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/var/lang/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/var/lang/lib/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp)