Traceback (most recent call last):


 "/home/pi/env/bin/google-oauthlib-tool", line 10, in <module>

sys.exit(main())


 "/home/pi/env/lib/python3.5/site-packages/click/core.py", line 722, in __call__

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


 "/home/pi/env/lib/python3.5/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/pi/env/lib/python3.5/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/pi/env/lib/python3.5/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/pi/env/lib/python3.5/site-packages/google_auth_oauthlib/tool/__main__.py", line 100, in main

scopes=scope


 "/home/pi/env/lib/python3.5/site-packages/google_auth_oauthlib/flow.py", line 181, in from_client_secrets_file

client_config = json.load(json_file)


 "/usr/lib/python3.5/json/__init__.py", line 268, in load

parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)


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

return _default_decoder.decode(s)


 "/usr/lib/python3.5/json/decoder.py", line 339, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())


 "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Traceback (most recent call last):


 "/opt/synapse/lib/python3.7/site-packages/synapse/federation/transport/server.py", line 424, in on_PUT

origin, transaction_data


 "/opt/synapse/lib/python3.7/site-packages/synapse/federation/federation_server.py", line 129, in on_incoming_transaction

origin, transaction, request_time


 "/opt/synapse/lib/python3.7/site-packages/synapse/federation/federation_server.py", line 181, in _handle_incoming_transaction

).addErrback(unwrapFirstError)


 "/opt/synapse/lib/python3.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/opt/synapse/lib/python3.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/opt/synapse/lib/python3.7/site-packages/synapse/federation/federation_server.py", line 293, in _handle_pdus_in_txn

process_pdus_for_room, pdus_by_room.keys(), TRANSACTION_CONCURRENCY_LIMIT


 "/opt/synapse/lib/python3.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/opt/synapse/lib/python3.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/opt/synapse/lib/python3.7/site-packages/synapse/util/async_helpers.py", line 155, in _concurrently_execute_inner

await maybe_awaitable(func(next(it)))


 "/opt/synapse/lib/python3.7/site-packages/synapse/federation/federation_server.py", line 266, in process_pdus_for_room

await self.check_server_matches_acl(origin_host, room_id)


 "/opt/synapse/lib/python3.7/site-packages/synapse/federation/federation_server.py", line 710, in check_server_matches_acl

acl_event = await self.store.get_event(acl_event_id)


 "/opt/synapse/lib/python3.7/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks

result = g.send(result)


 "/opt/synapse/lib/python3.7/site-packages/synapse/storage/data_stores/main/events_worker.py", line 190, in get_event

raise NotFoundError("Could not find event %s" % (event_id,))
synapse.api.errors.NotFoundError: 404: Could not find event $NVI5AZqJdV7KyJPF3XFlxzRiiD0G86IBbWi7JxxUr0g
