We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that when the database is updated and receives a new version token the unmarshalling is not done correctly.
Expected: Cg0IARAGGAEiAzAwMTABEP/7BhoCGAnR73ir unmarshalled: [10 13 8 1 16 6 24 1 34 3 48 48 49 48 1 16 255 251 6 26 2 24 9 209 239 120 171]
This could be an issue with https://godoc.org/github.com/golang/protobuf/jsonpb itself.
I created the branch json-marshalling-bug for future investigation, meanwhile i am going to revert the changes that introduced this bug.
json-marshalling-bug
The text was updated successfully, but these errors were encountered:
I believe the issue is due to that versionToken is not base64 encoded here. The error message from the API looks like
versionToken
"error": { "code": 400, "message": "Invalid value at 'version_token' (TYPE_BYTES), Base64 decoding failed for \"\n\r\b\u0001\u0010\u0006\u0018\u0001\"\u00030010\u0001\u0010 \u0007\u001a\u0002\u0018\u0003 h 8\"", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.BadRequest", "fieldViolations": [ { "field": "version_token", "description": "Invalid value at 'version_token' (TYPE_BYTES), Base64 decoding failed for \"\n\r\b\u0001\u0010\u0006\u0018\u0001\"\u00030010\u0001\u0010 \u0007\u001a\u0002\u0018\u0003 h 8\"" } ] } ] }
Sorry, something went wrong.
No branches or pull requests
It seems that when the database is updated and receives a new version token the unmarshalling is not done correctly.
Expected: Cg0IARAGGAEiAzAwMTABEP/7BhoCGAnR73ir
unmarshalled: [10 13 8 1 16 6 24 1 34 3 48 48 49 48 1 16 255 251 6 26 2 24 9 209 239 120 171]
This could be an issue with https://godoc.org/github.com/golang/protobuf/jsonpb itself.
I created the branch
json-marshalling-bug
for future investigation, meanwhile i am going to revert the changes that introduced this bug.The text was updated successfully, but these errors were encountered: