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

unexpected Content-Type: "application/vnd+hashicorp.releases-api.v0+json" #170

Closed
tekumara opened this issue Jul 25, 2022 · 3 comments
Closed

Comments

@tekumara
Copy link

$ go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
rendering website for provider "terraform-provider-prefect"
exporting schema from Terraform
compiling provider "prefect"
getting Terraform binary
Error executing command: unable to generate website: unexpected Content-Type: "application/vnd+hashicorp.releases-api.v0+json"

exit status 1

go.mod contains:

	github.com/hashicorp/terraform-plugin-docs v0.6.0
	github.com/hashicorp/terraform-plugin-framework v0.6.0
	github.com/hashicorp/terraform-plugin-go v0.8.0
	github.com/hashicorp/terraform-plugin-sdk/v2 v2.10.1
@tekumara
Copy link
Author

Related hashicorp/hc-install#57

@jacobbednarz
Copy link
Contributor

this was fixed long ago by #135; you need to update to the newer versions to address it.

@tekumara
Copy link
Author

Thanks @jacobbednarz I've resolved this by upgrading to:

	github.com/hashicorp/terraform-plugin-docs v0.13.0
	github.com/hashicorp/terraform-plugin-framework v0.10.0
	github.com/hashicorp/terraform-plugin-go v0.12.0
	github.com/hashicorp/terraform-plugin-sdk/v2 v2.19.0

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

2 participants