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: internal error, response body doesn't match error type signature #10

Closed
arbourd opened this issue Mar 26, 2022 · 5 comments
Closed

Comments

@arbourd
Copy link
Contributor

arbourd commented Mar 26, 2022

Appears that the response body isn't matching what's returned. In my cause it's probably related to a 401 or something re: access because everything looks good but returns the same error.

resource "planetscale_branch" "db" {
  organization  = "company"
  database      = "comapny-db"
  parent_branch = "main"
  name          = var.name == "production" ? "main" : var.name
}
@arbourd
Copy link
Contributor Author

arbourd commented Mar 26, 2022

@arbourd
Copy link
Contributor Author

arbourd commented Mar 27, 2022

Seems like this happens when the API token is incorrect. Probably returning a 401 which isn't handled properly by the client library.

@arbourd
Copy link
Contributor Author

arbourd commented Mar 28, 2022

Caused by upstream planetscale/planetscale-go#118

@s1ntaxe770r
Copy link
Owner

resolved in #11

@arbourd
Copy link
Contributor Author

arbourd commented Apr 6, 2022

@s1ntaxe770r It wasn't actually that was just updating the library hoping it would be. It's an upstream bug with the planetscale-go library.

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