BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

Create issue
Issue #116 new
AnneS created an issue

View details in Rollbar: https://rollbar.com/living-labs/ll-api/items/31/

Traceback (most recent call last):
  File "/home/tbreuer/anaconda3/envs/ll4ir/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/tbreuer/anaconda3/envs/ll4ir/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/tbreuer/anaconda3/envs/ll4ir/lib/python2.7/site-packages/flask_restful/__init__.py", line 458, in wrapper
    resp = resource(*args, **kwargs)
  File "/home/tbreuer/anaconda3/envs/ll4ir/lib/python2.7/site-packages/flask/views.py", line 84, in view
    return self.dispatch_request(*args, **kwargs)
  File "/home/tbreuer/anaconda3/envs/ll4ir/lib/python2.7/site-packages/flask_restful/__init__.py", line 573, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/home/tbreuer/TH/code/ll-api/ll/api/__init__.py", line 55, in decorated
    return f(*args, key=auth.username, **kwargs)
  File "/home/tbreuer/TH/code/ll-api/ll/api/site/ranking.py", line 81, in get
    site_id = self.get_site_id(key)
  File "/home/tbreuer/TH/code/ll-api/ll/api/apiutils.py", line 82, in get_site_id
    user = self.trycall(core.user.get_user, key)
  File "/home/tbreuer/TH/code/ll-api/ll/api/apiutils.py", line 79, in trycall
    self.abort(400, e, traceback.format_exc())
  File "/home/tbreuer/TH/code/ll-api/ll/api/apiutils.py", line 46, in abort
    traceback=[self.replace_tb(l) for l in tb.split("\n") if l])
  File "/home/tbreuer/anaconda3/envs/ll4ir/lib/python2.7/site-packages/flask_restful/__init__.py", line 29, in abort
    original_flask_abort(http_status_code)
  File "/home/tbreuer/anaconda3/envs/ll4ir/lib/python2.7/site-packages/werkzeug/exceptions.py", line 707, in abort
    return _aborter(status, *args, **kwargs)
  File "/home/tbreuer/anaconda3/envs/ll4ir/lib/python2.7/site-packages/werkzeug/exceptions.py", line 687, in __call__
    raise self.mapping[code](*args, **kwargs)
BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.

Comments (0)

  1. Log in to comment