-
Notifications
You must be signed in to change notification settings - Fork 27
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
Unexpected Error on all Forecast requests #61
Comments
Okay, I was able to modify the SDK to spit out the actual decoding error and found the problem. Since yesterday, the nearby stations in Dallas have been unavailable. This changes the darksky-unavailable key in the JSON, and so it can't decode it. In the Struct, the decoder is expecting a Bool value for that key, but it's giving a string instead. Here is the JSON snippet for the
|
I tried running a request for a different location that has working radar stations, and that key is just missing if everything is okay, so I propose we just change the field to a String from a Bool. I'll send in a PR with this change for review. |
Thanks for catching the error and the pull request! It does appear as if that property would be better represented as a |
This started yesterday. Has anyone else started seeing this? It seems like perhaps there was an API change or something? I'll keep investigating in the meantime.
The text was updated successfully, but these errors were encountered: