Skip to content

syntax error in JSON when using adafruit_io for fetching data from AIO #37

Closed
@axelmagnus

Description

@axelmagnus

Well, i was recommended by Brent to file this here as well.
Im tryin to display my AIO data on a pyportal.

Adafruit PyPortal with samd51j20
adafruit-circuitpython-bundle-6.x-mpy-20200925
also tried request v 1.6.0.

Please see
https://forums.adafruit.com/viewtopic.php?f=56&t=170049&p=831555
for code and experiences. (i cant get the formatting to work)

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Retrieving new Adafruit IO feed...
Socket missing recv_into. Using more memory to be compatible
Traceback (most recent call last):
File "code.py", line 56, in
File "adafruit_io/adafruit_io.py", line 583, in receive_all_data
File "adafruit_io/adafruit_io.py", line 539, in _get
File "adafruit_requests.py", line 343, in json
File "adafruit_requests.py", line 339, in json
ValueError: syntax error in JSON

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions