-
Notifications
You must be signed in to change notification settings - Fork 14
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
Unmarshalling error in cloudflare client when creating a CertifcatePack #167
Comments
I ran into the same problem. When refreshing our Pulumi stack we get the same error:
|
@stack72 Can you provide any update on this issue. I would be willing help fixing the issue, but I think I need some pointers to get started what introduced the issue in the first place. |
Here is the related issue in the Cloudflare Terraform Provider: This issue has been closed and I see that in the last release of the Cloudflare Terraform Provider this has been fixed:
I can see you updated to v.2.25.0 before releasing v3.4.0, but I am still getting the error although I ensured I am using v3.4.0: Any tip how I can resolve the issue @stack72? |
I further looked into this and found a workaround for our setup. In our scripts we are first running Then I temporarily disabled the @bruno-morel can you check if this works for you as well? |
It looks like it's working, I have a bunch of service to check, but the first one was happy with it. I'll keep you updated if I encounter more trouble, but thanks for finding a working fix! |
The upstream issue has been fixed and nobody commented on this issue since 2021, so I'll go ahead and close it as fixed |
It worked 3 days ago, now it doesnt...
I I try to create a CertificatePack from pulumi, here is what I get:
failed to fetch certificate pack: error unmarshalling the JSON response: json: cannot unmarshal string into Go struct field CertificatePack.result.primary_certificate of type int
Steps to reproduce
Expected: no failure
Actual: full failure of the update + impossible to rely on the created object in subsequent flow
The text was updated successfully, but these errors were encountered: