Unable to monitor URL in heartbeat

I am trying to add below URL in heartbeat but it is giving error like 401 Authentication requested or 403 Forbidden

I am missing anything?

- type: http
  urls: ["http://myurl.net:9000"]
  username: abcd
  password: #abcd!
  schedule: '@every 10m'
  fields_under_root: true

Can you share the full error please.

Is there authentication against that URL?