-
Notifications
You must be signed in to change notification settings - Fork 105
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
[Help/Advice needed] base64: input: invalid encoding at offset: 1 #47
Comments
Hi @denibertovic, it seems this error is coming from convertFromBase in the The Since the deserialisation is failing I assume that means the fields themselves are not in fact encoded as the spec claims - I'll need to review this for compute specifically and then will try to provide a fix or workaround. Apologies for the delay. |
@brendanhay thanks for the reply. If you can't reproduce this locally it might have something to do with my environment. There is a lot of talk here: commercialhaskell/stack#2712 about how the memory package can't be built...for me it built just fine but I wonder if it built correctly, and if that could be causing such errors. |
@brendanhay The latest documentation seems to indicate that Tags and Metadata have a fingeprint field which is "bytes".
|
@brendanhay did you manage to figure out what the issue was here and how to fix it? I'd be happy to submit a PR but I'd need more guidance. |
Hey @brendanhay thanks for fixing this! 🍰 I've tried pulling in the latest changes from github but I'm getting a compilation error about a missing Base64 constructor. I've added the following in my stack yaml:
And I'm getting the following error:
Did I miss adding something to my stack.yml? Or? |
Hey @denibertovic, the regeneration of the services to match the new underlying base primitives was in #59, apologies for the confusion! |
Thanks @brendanhay it works now! 🍰 |
Hi there. Thanks for this awesome library!
I'm trying out gogol-compute and I'm getting a somewhat weird error when I try to run the example below. I'm trying to get a list of instances for a particular project.
From what I can tell from the debug output I successfully connect to the google compute api, get a bearer token and make a request but then when the debug output would normally print the body (with I assume, the instances json in there) I get the following error:
Main.hs: base64: input: invalid encoding at offset: 1
I tried setting the logger to Info and Error with no luck. I also tried ignoring the result of the api call
but the same error happens.
The text was updated successfully, but these errors were encountered: