You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let response:BeginTransactionResponse = builder.execute()?;
the transaction property of BeginTransactionResponse is actually radix64:STD.
Leading to the following error message from google_api_bytes: invalid base64 input
I'm pretty sure by changing use radix64::URL_SAFE as BASE64_CFG; to use radix64::STD as BASE64_CFG; I am breaking some of the other generated libraries though, so that is not a good solution.
If an expert could take a look at this, it would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered:
I'm pretty sure by changing use radix64::URL_SAFE as BASE64_CFG; to use radix64::STD as BASE64_CFG; I am breaking some of the other generated libraries though, so that is not a good solution.
You are correct 🙂
It looks like we are not sure how to handle this issue for now google-apis-rs/generator#22, although we have a less than ideal workaround.
google_api_bytes
v0.1.0
usesradix64:URL_SAFE
as the standard Base64 decoder.I am using the
google-datastore1
library like so:And in this call:
the
transaction
property ofBeginTransactionResponse
is actuallyradix64:STD
.Leading to the following error message from
google_api_bytes
:invalid base64 input
I'm pretty sure by changing
use radix64::URL_SAFE as BASE64_CFG;
touse radix64::STD as BASE64_CFG;
I am breaking some of the other generated libraries though, so that is not a good solution.If an expert could take a look at this, it would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: