hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

NoOptionError: No option 'redirect_uri' in section: 'DUMP' #232

Closed sentry-io[bot] closed 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: GALAXY-API-F

NoOptionError: No option 'redirect_uri' in section: 'DUMP'
(24 additional frame(s) were not displayed)
...
  File "concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "newrelic/core/context.py", line 84, in _context_wrapper
    return wrapped(*args, **kwargs)
  File "newrelic/api/function_trace.py", line 166, in literal_wrapper
    return wrapped(*args, **kwargs)
  File "API/data/routers.py", line 18, in login_url
    redirect_path = config.get("DUMP", "redirect_uri")
  File "configparser.py", line 792, in get
    raise NoOptionError(option, section)

Exception in ASGI application
kshitijrajsharma commented 2 years ago

Happened due to missed config file on production for redirect uri in dump since it is moved from oauth , Production is updated too now