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

ErrorCode field wrong type #8

Open
taglme opened this issue Sep 2, 2021 · 0 comments
Open

ErrorCode field wrong type #8

taglme opened this issue Sep 2, 2021 · 0 comments
Assignees
Labels
bug Something isn't working v1

Comments

@taglme
Copy link

taglme commented Sep 2, 2021

Hi!
It's seems that ErrorCode field of Error struct has type int according to CDEK API.
So when we get errors from CDEK API there is a json unmarshal error below
"json: cannot unmarshal number into Go struct field Error.error.code of type string"

@max107 max107 self-assigned this May 18, 2022
@max107 max107 added bug Something isn't working v1 labels Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1
Projects
None yet
Development

No branches or pull requests

2 participants