Traceback (most recent call last):


 "/opt/code/localstack/localstack/services/plugins.py", line 96, in check_infra

check_service_health(api=name, print_error=print_error)


 "/opt/code/localstack/localstack/services/plugins.py", line 115, in check_service_health

raise e


 "/opt/code/localstack/localstack/services/plugins.py", line 111, in check_service_health

plugin.check(expect_shutdown=expect_shutdown, print_error=print_error)


 "/opt/code/localstack/localstack/services/plugins.py", line 45, in check

return self.check_function(expect_shutdown=expect_shutdown, print_error=print_error)


 "/opt/code/localstack/localstack/services/secretsmanager/secretsmanager_starter.py", line 129, in check_secretsmanager

assert isinstance(out['SecretList'], list)
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/synapse/federation/federation_server.py", line 828, in on_edu

await handler(origin, content)


 "/usr/local/lib/python3.7/site-packages/synapse/handlers/receipts.py", line 65, in _received_remote_receipt

await self._handle_new_receipts(receipts)


 "/usr/local/lib/python3.7/site-packages/synapse/handlers/receipts.py", line 79, in _handle_new_receipts

receipt.data,


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

result = result.throwExceptionIntoGenerator(g)


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

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


 "/usr/local/lib/python3.7/site-packages/synapse/storage/data_stores/main/receipts.py", line 473, in insert_receipt

stream_id=stream_id,


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

result = g.send(result)


 "/usr/local/lib/python3.7/site-packages/synapse/storage/database.py", line 499, in runInteraction

after_callback(*after_args, **after_kwargs)


 "/usr/local/lib/python3.7/site-packages/synapse/storage/data_stores/main/receipts.py", line 310, in _invalidate_get_users_with_receipts_in_room

if res and user_id in res:
TypeError: argument of type 'ObservableDeferred' is not iterable
