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

Unable to connect to the backend API #29

Open
sharvesh06 opened this issue May 6, 2024 · 0 comments
Open

Unable to connect to the backend API #29

sharvesh06 opened this issue May 6, 2024 · 0 comments

Comments

@sharvesh06
Copy link

Seeing this error when I run tf plan,

2024-05-06T16:18:22.389Z [TRACE] provider.terraform-provider-netskope_v0.2.6: Calling downstream: @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:969 @module=sdk.helper_schema tf_provider_addr=provider tf_req_id=4f6f49cb-ca06-cf70-059e-2d57508e246b tf_data_source_type=netskope_publishers tf_rpc=ReadDataSource timestamp=2024-05-06T16:18:22.389Z
2024-05-06T16:18:23.149Z [TRACE] provider.terraform-provider-netskope_v0.2.6: Called downstream: @caller=github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:971 tf_provider_addr=provider tf_req_id=4f6f49cb-ca06-cf70-059e-2d57508e246b tf_rpc=ReadDataSource @module=sdk.helper_schema tf_data_source_type=netskope_publishers timestamp=2024-05-06T16:18:23.149Z
2024-05-06T16:18:23.149Z [TRACE] provider.terraform-provider-netskope_v0.2.6: Received downstream response: tf_req_duration_ms=760 @module=sdk.proto diagnostic_error_count=1 tf_rpc=ReadDataSource tf_proto_version=5.3 @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/tf5serverlogging/downstream_request.go:40 tf_data_source_type=netskope_publishers tf_provider_addr=provider tf_req_id=4f6f49cb-ca06-cf70-059e-2d57508e246b diagnostic_warning_count=0 timestamp=2024-05-06T16:18:23.149Z
2024-05-06T16:18:23.150Z [ERROR] provider.terraform-provider-netskope_v0.2.6: Response contains error diagnostic: @module=sdk.proto diagnostic_detail="" tf_data_source_type=netskope_publishers tf_proto_version=5.3 tf_provider_addr=provider diagnostic_severity=ERROR @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 diagnostic_summary="Unable to call backend API" tf_req_id=4f6f49cb-ca06-cf70-059e-2d57508e246b tf_rpc=ReadDataSource timestamp=2024-05-06T16:18:23.149Z
2024-05-06T16:18:23.150Z [TRACE] provider.terraform-provider-netskope_v0.2.6: Served request: tf_data_source_type=netskope_publishers tf_provider_addr=provider tf_rpc=ReadDataSource @caller=github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:673 @module=sdk.proto tf_proto_version=5.3 tf_req_id=4f6f49cb-ca06-cf70-059e-2d57508e246b timestamp=2024-05-06T16:18:23.149Z
2024-05-06T16:18:23.150Z [ERROR] vertex "data.netskope_publishers.this" error: Unable to call backend API
2024-05-06T16:18:23.150Z [TRACE] vertex "data.netskope_publishers.this": visit complete, with errors
2024-05-06T16:18:23.150Z [TRACE] dag/walk: upstream of "root" errored, so skipping
2024-05-06T16:18:23.150Z [TRACE] vertex "data.netskope_publishers.this (expand)": dynamic subgraph encountered errors: Unable to call backend API
2024-05-06T16:18:23.150Z [ERROR] vertex "data.netskope_publishers.this (expand)" error: Unable to call backend API
2024-05-06T16:18:23.150Z [TRACE] vertex "data.netskope_publishers.this (expand)": visit complete, with errors
2024-05-06T16:18:23.150Z [TRACE] dag/walk: upstream of "local.publisher (expand)" errored, so skipping
2024-05-06T16:18:23.150Z [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/netskopeoss/netskope\"] (close)" errored, so skipping
2024-05-06T16:18:23.150Z [TRACE] dag/walk: upstream of "root" errored, so skipping
2024-05-06T16:18:23.150Z [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/netskopeoss/netskope"
2024-05-06T16:18:23.150Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/netskopeoss/netskope" is in the global cache
2024-05-06T16:18:23.150Z [INFO]  backend/local: plan operation completed
2024-05-06T16:18:23.150Z [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/netskopeoss/netskope"
2024-05-06T16:18:23.150Z [TRACE] terraform.contextPlugins: Schema for provider "registry.terraform.io/netskopeoss/netskope" is in the global cache

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: Unable to call backend API
│ 
│   with data.netskope_publishers.this,
│   on main.tf line 1, in data "netskope_publishers" "this":
│    1: data "netskope_publishers" "this" {
│ 
╵
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant