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

json decode errors in api-v2 calls #274

Open
gfr10598 opened this issue Mar 11, 2020 · 1 comment
Open

json decode errors in api-v2 calls #274

gfr10598 opened this issue Mar 11, 2020 · 1 comment

Comments

@gfr10598
Copy link
Contributor

api-v2.go:220: Decode error: json: unknown field "ContinentCode"

It appears that the json encoding of the annotation service results may have changed. We are now getting frequent errors about unknown field "ContinentCode". This is the name of an existing field, but there is a json tag indicating that it should be encoded as continent_code.

I can't see any reason why behavior would have changed.

It looks like annotations are still succeeding, as the code retries allowing unknown fields.

I observed this in the new k8s parser, not in the normal production parser.

@autolabel autolabel bot added the review/triage Team should review and assign priority label Mar 11, 2020
@autolabel autolabel bot removed the review/triage Team should review and assign priority label Mar 16, 2020
@pboothe
Copy link
Contributor

pboothe commented Mar 16, 2020

When did it start? Is it only for a subset of the data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants