Unable to parse authentication credentials

After enabling authentication i have created admin user and another non admin user. when i try to read from measurement its working fine but when i try to write the series to measurements its shows unable to parse authentication credentials. i’m working on influxdb version 1.5.

So is the issue getting metrics from telegraf to influxdb?

Could you post the relevant Telegraf configuration for your influxdb output?