[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.