You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I started to get these errors in my job logs:
======================================================================
ERROR: SendSlackMessageSpiderFinished
----------------------------------------------------------------------
Traceback (most recent call last):
File "/app/python/lib/python3.6/site-packages/spidermon/core/actions.py", line 37, in run
self.run_action()
File "/app/python/lib/python3.6/site-packages/spidermon/contrib/actions/slack/__init__.py", line 213, in run_action
attachments=self.get_attachments(),
File "/app/python/lib/python3.6/site-packages/spidermon/contrib/actions/slack/__init__.py", line 58, in send_message
for recipient in to
File "/app/python/lib/python3.6/site-packages/spidermon/contrib/actions/slack/__init__.py", line 58, in <listcomp>
for recipient in to
File "/app/python/lib/python3.6/site-packages/spidermon/contrib/actions/slack/__init__.py", line 79, in send_message
attachments=attachments,
File "/app/python/lib/python3.6/site-packages/spidermon/contrib/actions/slack/__init__.py", line 129, in _send_channel_message
icon_url=self.users[self.sender_name]["profile"]["image_48"],
File "/app/python/lib/python3.6/site-packages/spidermon/contrib/actions/slack/__init__.py", line 36, in users
self._users = self._get_users_info()
File "/app/python/lib/python3.6/site-packages/spidermon/contrib/actions/slack/__init__.py", line 91, in _get_users_info
for member in self._api_call("users.list")["members"]
KeyError: 'members'
I've started to receive these errors this week when I automatically scheduled around 15 jobs instantly. Then, SPIDERMON_PERIODIC_MONITORS chimed in emitting 15 alerts every 3 hours within the same minute or so. That's a plausible explanation.
@jesuslosada @rennerocha Hi, Spidermon team!
Recently I started to get these errors in my job logs:
From the looks of it, they are caused by the transient Slack API error responses, in my case to the https://api.slack.com/methods/users.list method.
ok=false
responses?The text was updated successfully, but these errors were encountered: