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
2018-03-01 18:13:57,089 - werkzeug - INFO - 192.168.1.61 - - [01/Mar/2018 18:13:57] "PATCH /api/pages HTTP/1.0" 500 -
2018-03-01 18:13:57,440 - app - ERROR - Exception on /api/pages [PATCH]
Traceback (most recent call last):
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask_restless/views.py", line 157, in decorator
return func(*args, **kw)
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/mimerender.py", line 244, in wrapper
result = target(*args, **kwargs)
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask/views.py", line 149, in dispatch_request
return meth(*args, **kwargs)
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask_restless/views.py", line 189, in wrapped
return func(*args, **kw)
File "/home/chris/TorSpider/backend/venv/lib/python3.5/site-packages/flask_restless/views.py", line 1499, in patch
content_is_json = content_type.startswith('application/json')
AttributeError: 'NoneType' object has no attribute 'startswith'
The text was updated successfully, but these errors were encountered:
AttributeError: 'NoneType' object has no attribute 'startswith' indicates that you weren't sending any headers or able to see the headers in flask, so it evaluated against headers of "None". Odd.
The text was updated successfully, but these errors were encountered: