Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Issue with Python JSON Handling? #6

@Mariner10

Description

@Mariner10
File "life360.py", line 41, in authenticate
    r = self.make_request(url=url, params=params, method='POST', authheader="Basic " + self.authorization_token)
  File "life360.py", line 29, in make_request
    return r.json()
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Not sure what this issue is cropping up from. I just got around to fixing my program with the updated AUTH values however now Python is complaining about JSON decoding?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions