Skip to content
This repository was archived by the owner on Dec 9, 2020. It is now read-only.

API Error After Enabling GitHub App #40

Open
azohra opened this issue Sep 2, 2020 · 0 comments
Open

API Error After Enabling GitHub App #40

azohra opened this issue Sep 2, 2020 · 0 comments

Comments

@azohra
Copy link

azohra commented Sep 2, 2020

Hey,

WIll flesh this out when I get a bit more time but wanted to call out that there appears to be a change required in the provider as a result of a breaking change in the Netlify API.

I get this error in terraform plan & terraform apply after installing the Netlify GitHub App for a site made by terraform:

Error: json: cannot unmarshal number into Go struct field RepoInfo.installation_id of type string

Found these posts which provide goodcontext:

  1. [BUG] InstallationID is typed incorrectly netlify/open-api#162
  2. https://community.netlify.com/t/502-cannot-unmarshal-number-into-go-struct-field-apigatewayproxyresponse-multivalueheaders/16350
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant