Influx DB "Could not fetch measurement"

I’ve tried to link Influx DB to Home Assistant. The first time it worked perfectly. I then did it for a second Home Assistant version and just got the message “Could not fetch measurement” I’m confused. The Configuration Yaml has the following:-

influxdb:
host: a0d7b954-influxdb
port: 8086
database: Master
username: Home Assistant
password: Home Assistant
max_retries: 3
default_measurement: state

I have got the spacing correct despite what is shown above. Have I missed something out?