Find answers from the community

Updated 6 months ago

Logan M I get JSON decoder errors `json

At a glance

The community member is experiencing a json.decoder.JSONDecodeError when trying to load metadata from a response. The error message indicates that the JSON data is missing a comma delimiter. Another community member suggests that the metadata is a dictionary of strings to any type, and that some extra processing might be needed to handle the issue.

I get JSON decoder errors - json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 73 char 72 when I try to load metadata of source nodes from a response response.source_nodes[i].node.metadata - how can I fix this? .-.
L
2 comments
what does the metadata look like? it's a dictionary of str -> Any
so some extra processing might be needed
Add a reply
Sign up and join the conversation on Discord