DjangoGirls / djangogirls

Website for DjangoGirls.org
http://djangogirls.org/
BSD 3-Clause "New" or "Revised" License
465 stars 286 forks source link

ResourceUnavailable: at https://api.trello.com/1/cards/5d408eae3b981765a219e7d7/pluginData (HTTP status: 503) #726

Closed sentry-io[bot] closed 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: DJANGO-GIRLS-WEBSITE-34

ResourceUnavailable:  at https://api.trello.com/1/cards/5d408eae3b981765a219e7d7/checklists (HTTP status: 503)
  File "core/management/commands/sync_events_dashboard.py", line 73, in sync
    card.fetch()
  File "trello/card.py", line 203, in fetch
    self._checklists = self.fetch_checklists() if eager else None
  File "trello/card.py", line 247, in fetch_checklists
    json_obj = self.client.fetch_json(
  File "trello/trelloclient.py", line 229, in fetch_json
    raise ResourceUnavailable("%s at %s" % (response.text, url), response)

ResourceUnavailable:  at https://api.trello.com/1/cards/5d408eae3b981765a219e7d7/pluginData (HTTP status: 503)
(5 additional frame(s) were not displayed)
...
  File "core/management/commands/sync_events_dashboard.py", line 29, in handle
    sync(events, token)
  File "core/management/commands/sync_events_dashboard.py", line 77, in sync
    card.fetch()
  File "trello/card.py", line 202, in fetch
    self._plugin_data = self.fetch_plugin_data() if eager else None
  File "trello/card.py", line 258, in fetch_plugin_data
    items = self.client.fetch_json(
  File "trello/trelloclient.py", line 229, in fetch_json
    raise ResourceUnavailable("%s at %s" % (response.text, url), response)
amakarudze commented 2 years ago

Closing this for now. Seems to have been an environment variable issue. Will observe today then use one source of environment variable for all scripts.