Input.jenkins plugin - 401 Unauthorized

Hi
Have an Jenkins instance integrated with corporate AD. Now I’m trying to integrate with Telegraf and influxdb.

After I updated my /etc/telegraf/telegraf.conf with below, I can started seeing
[[inputs.jenkins]]

## The Jenkins URL in the format “schema://host:port”

url = “https://<jenkins_dns_name>:443”
username = “”
password = “xxxxxxx!”

Started seeing entries in these tables
SELECT * FROM “jenkins”
SELECT * FROM “jenkins_node”
SELECT * FROM “jenkins_job”

However I see only 3 old jenkins builds in this table jenkins_job and not able to see any new entries for all the new job triggers

Noticed below entries in teh telegraf log files
2020-05-16T03:32:57Z W! [agent] [inputs.jenkins] did not complete within its interval
2020-05-16T03:32:59Z E! [inputs.jenkins] Error in plugin: [/job/job1/api/json] 401 Unauthorized
2020-05-16T03:32:59Z E! [inputs.jenkins] Error in plugin: [/job/job2/api/json] 401 Unauthorized
2020-05-16T03:32:59Z E! [inputs.jenkins] Error in plugin: [/job/job3/api/json] 401 Unauthorized

could anyone help please