Grafana synthetics monitoring

Hello,

I am trying to set up grafana synthetic monitoring with terraform. I already had created a grafana cloud instance and had set up a manual http probe. while trying to do it from terraform, i could not get what should be the sm_url and sm_acceess_token. When i tried running terraform plan with url i get from clicking synthetics monitoring icon on the grafana cloud instance and the token by creating an admin token, i am getting the error Error: probe list request, decoding response: invalid character ‘<’ looking for beginning of value

data “grafana_synthetic_monitoring_probes” “main” {}

resource “grafana_synthetic_monitoring_check” “ping” {
job = “Ping Defaults”
target = “https://google.com
enabled = false
probes = [
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
]
labels = {
foo = “bar”
}
settings {
ping {}
}
}