Traceback (most recent call last):


 ".. telepot/aio/helper.py", line 107, in compute_and_answer

await self._bot.answerInlineQuery(query_id, ans)


 ".. telepot/aio/__init__.py", line 296, in answerInlineQuery

return await self._api_request('answerInlineQuery', _rectify(p))


 ".. telepot/aio/__init__.py", line 68, in _api_request

return await api.request((self._token, method, params, files), **kwargs)


 ".. telepot/aio/api.py", line 110, in request

return await _parse(r)


 ".. telepot/aio/api.py", line 87, in _parse

if data['ok']:
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run

return loop.run_until_complete(main)


 "/usr/local/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete

return future.result()


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/__main__.py", line 249, in setup_and_run_hass

safe_mode=args.safe_mode,


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 89, in async_setup_hass

await async_from_config_dict(config_dict, hass)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 132, in async_from_config_dict

await _async_set_up_integrations(hass, config)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 377, in _async_set_up_integrations

*(async_setup_component(hass, domain, config) for domain in domains_to_load)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 49, in async_setup_component

return await task
# type: ignore


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 145, in _async_setup_component

hass, config, integration


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/config.py", line 704, in async_process_component_config

return component.CONFIG_SCHEMA(config)
# type: ignore


 "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__

return self._compiled([], data)


 "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict

return base_validate(path, iteritems(data), out)


 "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping

cval = cvalue(key_path, value)


 "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable

return schema(data)


 "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__

return self._compiled([], data)


 "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict

return base_validate(path, iteritems(data), out)


 "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 373, in validate_mapping

new_key = ckey(key_path, key)


 "/srv/homeassistant/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable

return schema(data)


 "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/config_validation.py", line 659, in validator

value = config[key]
TypeError: string indices must be integers
