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
it appears that sometimes the meetup API returns an error, and it crashes the updating process.
INFO:root:Gathering all of Code for Tulsa's events.
Traceback (most recent call last):
File "run_update.py", line 1380, in <module>
main(org_name=org_name, org_sources=org_sources)
File "run_update.py", line 1314, in main
members = get_meetup_count(organization, identifier)
File "run_update.py", line 179, in get_meetup_count
response = got.json()
File "/app/.heroku/python/lib/python2.7/site-packages/requests/models.py", line 805, in json
return complexjson.loads(self.text, **kwargs)
File "/app/.heroku/python/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/app/.heroku/python/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/app/.heroku/python/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
We should
be conscious of any meetup rate limits
handle errors without crashing the run
log a useful error message when this breaks
The text was updated successfully, but these errors were encountered:
it appears that sometimes the meetup API returns an error, and it crashes the updating process.
We should
The text was updated successfully, but these errors were encountered: