Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Chatty json decoding issue #9

@Day0Dreamer

Description

@Day0Dreamer

There I was, running the example.py and nothing worked :D


PS C:\Users\DayDreamer-i7\Desktop\beam-client-python-master> C:\Python34\python.exe .\example.py`

Traceback (most recent call last):
File ".\example.py", line 20, in
chat.authenticate()
File "C:\Users\DayDreamer-i7\Desktop\beam-client-python-master\chatty\connection.py", line 54, in authenticate
self._get_chat_details()
File "C:\Users\DayDreamer-i7\Desktop\beam-client-python-master\chatty\connection.py", line 33, in _get_chat_details
self.userid = requests.get(url=url, headers=header).json()['id']

KeyError: 'id'


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions