Dialogflow not working - Errors in log aiohttp.server

Hi,

Wondering if anyone can help with this - I have configured dialogflow as per the instructions. When I test the intent from the dialoglow web interface I get the default fail response and I find the following in my local log file.

2018-07-24 22:57:26 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 378, in start
resp = await self._request_handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py”, line 341, in _handle
resp = await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 88, in impl
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/static.py”, line 67, in staticresource_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py”, line 34, in real_ip_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py”, line 62, in auth_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py”, line 107, in handle
result = await result
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/dialogflow.py”, line 60, in post
response = await async_handle_message(hass, message)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/dialogflow.py”, line 96, in async_handle_message
action_incomplete = req[‘actionIncomplete’]
TypeError: ‘NoneType’ object is not subscriptable

I got it working - Dialogflow has to be set to V1 Legacy - not V2 which is now the default.