[outputs.influxdb_v2] When writing to https://url: failed to write metric to bucket (401 Unauthorized): unauthorized: unauthorized access

I changed the port from 8086 to 443 with ssl enabled. I can’t get telegraf to work with the port change all other services are working fine. Anyone have any ideas

Is the issue resolved? Could you please share the solution for "401 Unauthorized)… error if resolved. I am also facing same error now.

i think you have not exported the api token to your influx i am also facing the issue earlier but by setting up api token it worked for me perfectly.

1 Like

@Piyushweet Welcome! Thanks for sharing your solution with the community <333