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

Malformed response #12

Closed
thomaswrenn opened this issue May 14, 2015 · 7 comments
Closed

Malformed response #12

thomaswrenn opened this issue May 14, 2015 · 7 comments

Comments

@thomaswrenn
Copy link

https://www.dropbox.com/s/fquazbu1n9y8s6r/Screenshot%202015-05-14%2012.42.39.png?dl=0
?

Have an api key set.

@schachmat
Copy link
Owner

Heyho thomas,

if you can reproduce this, please uncomment line 485 (The Println statement), run go build in the project directory, then execute the new binary with ./wego and paste the resulting output (no screenshot).

--schachmat

@jakobholmelund
Copy link

I get the same thing..

2015/05/14 18:59:39 Malformed response.

@schachmat
Copy link
Owner

@jakobholmelund if you have no API key set up yet, please conform to setup section in the README.

@jakobholmelund
Copy link

When do i learn to read the fucking manual ? Works perfectly :)

@schachmat
Copy link
Owner

@thomaswrenn can we close this or does the issue still persist? In that case please supply the debug output as described in my first comment above.

@thomaswrenn
Copy link
Author

{"meta":{"version":1,"status_code":403},"results":{"error":{"type":"KeyError","message":"'#myAPIKey#' is not a valid key for 'Free-Weather-API-V2'"}}}

@thomaswrenn
Copy link
Author

Ah, there's the problem. I was using an API key for "Free-Weather-API" that I already had for worldweatheronline.com instead of for "Free-Weather-API-V2"

@schachmat schachmat mentioned this issue May 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants