Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Failed call API endpoint. HTTP response code: 404. Error: 404 Not Found #169

Open
edwinsalazar opened this issue Jun 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@edwinsalazar
Copy link

What versions are you using?

required_providers {
thousandeyes = {
source = "thousandeyes/thousandeyes"
version = "2.0.1"
}
}

What did you expect to happen?

I have deleted some Test that It was created before using TF via web. then when I am planning to update any value using TF it supposed that TF should create again that test but I am getting this message:
Error: Failed call API endpoint. HTTP response code: 404. Error: 404 Not Found

What actually happened?

Error: Failed call API endpoint. HTTP response code: 404. Error: 404 Not Found

Terraform code to reproduce the bug

resource "thousandeyes_agent_to_agent" "agent_to_agent_MexicoCity_Lima" {
  test_name      = "MexicoCity-to-Lima"
  description    = "by terraform at ${local.now}"
  interval       = var.test_interval
  direction = "BIDIRECTIONAL"
  protocol = "TCP"
  target_agent_id = "66222"
  bgp_measurements = var.bgp
  alerts_enabled = var.alerts
  agents {
    agent_id = 63438 
  }
}

resource "thousandeyes_agent_to_agent" "agent_to_agent_MexicoCity_Guadalajara" {
  test_name      = "MexicoCity-to-Guadalajara"
  description    = "by terraform at ${local.now}"
  interval       = var.test_interval
  direction = "BIDIRECTIONAL"
  protocol = "TCP"
  target_agent_id = "320"
  bgp_measurements = var.bgp
  alerts_enabled = var.alerts
  agents {
    agent_id = 63438 
  }
}

resource "thousandeyes_agent_to_agent" "agent_to_agent_MexicoCity_Raleigh" {
  test_name      = "MexicoCity-to-Raleigh"
  description    = "by terraform at ${local.now}"
  interval       = var.test_interval
  direction = "BIDIRECTIONAL"
  protocol = "TCP"
  target_agent_id = "69"
  bgp_measurements = var.bgp
  alerts_enabled = var.alerts
  agents {
    agent_id = 63438 
  }
}

Any additional comments or code?

No response

Steps to reproduce the bug

  1. create tests using TF
  2. delete any test via web
  3. try to update those tests including that previous that it was deleted via web
  4. get Error: 404 Not Found
@edwinsalazar edwinsalazar added the bug Something isn't working label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant