ns1-go
ns1-go copied to clipboard
`User.last_access` mistype with int
Right now User.last_access
mis-typed with int type, which caused unmarshal issue.
json: cannot unmarshal number 1591550213.0 into Go struct field User.last_access of type int
Hi @chenrui333 - thanks for bringing this to our attention. Can you provide what version of the SDK you are using and any steps you are taking to re-create this? We're currently using float64
for the internal type of that field, so that error message is a bit cryptic to me without more information. Thanks!
@Zach-Johnson I am using go-ns1 2.4.0 and provider v1.8.3 (which is what I used for terraformer support)
I should turn on the debug logging for more insights (will provide when I have some time)
@chenrui333 that would be super helpful - if this is specifically around the Terraform provider, it would also be useful if you could provide a sample Terraform config that you are using to test.
@chenrui333 Any updates on this issue?
Closing due to lack of activity. If problem persists, please try to reproduce with the current releases of Terraform and the NS1 Terraform provider and create a new issue, or open a support ticket with NS1.