Traceback (most recent call last):


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/app.py", line 2309, in __call__

return self.wsgi_app(environ, start_response)


 "/home/rs/Pradeep/github/open-event-server/app/__init__.py", line 64, in __call__

return self.app(environ, start_response)


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/app.py", line 2295, in wsgi_app

response = self.handle_exception(e)


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/app.py", line 1741, in handle_exception

reraise(exc_type, exc_value, tb)


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/_compat.py", line 35, in reraise

raise value


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/app.py", line 2292, in wsgi_app

response = self.full_dispatch_request()


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/app.py", line 1815, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function

return cors_after_request(app.make_response(f(*args, **kwargs)))


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/app.py", line 1718, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/_compat.py", line 35, in reraise

raise value


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/app.py", line 1813, in full_dispatch_request

rv = self.dispatch_request()


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/app.py", line 1799, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/home/rs/Pradeep/github/open-event-server/env/src/flask-rest-jsonapi/flask_rest_jsonapi/decorators.py", line 32, in wrapper

return func(*args, **kwargs)


 "/home/rs/Pradeep/github/open-event-server/env/lib/python3.5/site-packages/flask/views.py", line 88, in view

return self.dispatch_request(*args, **kwargs)


 "/home/rs/Pradeep/github/open-event-server/env/src/flask-rest-jsonapi/flask_rest_jsonapi/resource.py", line 68, in dispatch_request

response = method(*args, **kwargs)


 "/home/rs/Pradeep/github/open-event-server/env/src/flask-rest-jsonapi/flask_rest_jsonapi/decorators.py", line 56, in wrapper

return func(*args, **kwargs)


 "/home/rs/Pradeep/github/open-event-server/env/src/flask-rest-jsonapi/flask_rest_jsonapi/resource.py", line 145, in get

objects_count, objects = self._data_layer.get_collection(qs, kwargs)


 "/home/rs/Pradeep/github/open-event-server/env/src/flask-rest-jsonapi/flask_rest_jsonapi/data_layers/alchemy.py", line 92, in get_collection

query = self.query(view_kwargs)


 "/home/rs/Pradeep/github/open-event-server/app/api/sponsors.py", line 47, in query

query_ = event_query(self, query_, view_kwargs)


 "/home/rs/Pradeep/github/open-event-server/app/api/helpers/query.py", line 28, in event_query

'Authorization' not in request.headers or not has_access(permission, event_id=event.id)):


 "/home/rs/Pradeep/github/open-event-server/app/api/helpers/permission_manager.py", line 445, in has_access

auth = permissions[access_level](lambda *a, **b: True, (), {}, (), **kwargs)


 "/home/rs/Pradeep/github/open-event-server/app/api/helpers/permission_manager.py", line 89, in is_coorganizer_endpoint_related_to_event

user = get_identity()


 "/home/rs/Pradeep/github/open-event-server/app/api/helpers/jwt.py", line 51, in get_identity

payload = json.loads(base64.b64decode(token_second_segment))


 "/usr/lib/python3.5/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Traceback (most recent call last):


 "/app/medusa/start.py", line 9, in <module>

main()


 "/app/medusa/medusa/__main__.py", line 2257, in main

application.start(sys.argv[1:])


 "/app/medusa/medusa/__main__.py", line 407, in start

'https_cert': os.path.join(app.PROG_DIR, app.HTTPS_CERT),


 "/usr/lib/python3.8/posixpath.py", line 90, in join

genericpath._check_arg_types('join', a, *p)


 "/usr/lib/python3.8/genericpath.py", line 152, in _check_arg_types

raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
