-
Notifications
You must be signed in to change notification settings - Fork 9
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
TypeError: the JSON object must be str, bytes or bytearray, not NoneType #27
Comments
It might be that the NS API is not functioning well because it is overworked. I'll look into getting better feedback. Could you share your sensor config for this one (of course without the API key and such)? |
And my automation:
Not sure which of the 2 makes the checks to the NS api? I guess the sensor?
|
Oy, the typo in 'bepaald' is a nice cringe. |
Oh, the API portal has an overview too: https://apiportal.ns.nl/Developer/Analytics |
I've been getting the same issue lately and it's not related to quotas (have lived without HA for a few days, so usage is sub-any-quota). Shall we set up a custom exception to handle this one? |
I'm currently taking a new look at the library, also because of #34 so I'll implement this exception handler there too. Thanks for your patience, ns-api hasn't been a real focus for me lately 😅 |
Was requested to create an issue here about the NoneType error i had in HomeAssistant.
The error is starting to shop up more and more. Will look into if we can turn on extra logging
The text was updated successfully, but these errors were encountered: