-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
JsonDecodeError For GenerateRandomBytesRequest #455
Comments
It's a problem with it trying to decode that JSON with Its probably related to one of the many issues related to confused URL/Base64 encoding. The problem is that it's unclear how to figure out the kind of encoding just by looking at the API description, and thus far nobody was able to contribute a fix. |
Thanks for the reply. |
@Byron, how would I go about adding exclusions for certain crates? I see the following code that maps |
Are you using the latest version from this Repository? Sometimes the latest code isn't published yet, and I remember some work that was done in this direction so I thought this decoding problem is solved once and for all.
No, these would be overwritten next time the API is updated. |
It seems desearialize json is failed. The code is listed below and would you mind giving some feedbacks whether the code is inappropriate?
Err(JsonDecodeError("{\n \"data\": \"re9uM3jHgyBO55Bb5thfEc51X7qdvTFlTmYPDWU07rvSLXwKTXVQIecmyOtmjgrdH0RE+/LZ0XKNtiJKoLbm3y6+D3PWQHcmq6OgguWuQxJ23drOhypxfZdXaN2o1+xz7T31TVPqOnm3zlp8z4wtsR6cVupxgzYb5zguv5EQ73I=\",\n \"dataCrc32c\": \"589474822\"\n}\n", Error("Invalid byte 43, offset 68.", line: 2, column: 184)))
The text was updated successfully, but these errors were encountered: