Skip to content
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

getNotifictaions() error #96

Open
OrGur1987 opened this issue Jun 11, 2024 · 0 comments
Open

getNotifictaions() error #96

OrGur1987 opened this issue Jun 11, 2024 · 0 comments

Comments

@OrGur1987
Copy link

OrGur1987 commented Jun 11, 2024

hi there,
tried to use the above function after doing all the necessary authorization, and got the following error:

File "...\venv\lib\site-packages\splitwise\__init__.py", line 942, in getNotifications
    notifications.append(Notification(n))
File "...\venv\lib\site-packages\splitwise\notification.py", line 28, in __init__
    self.source = Source(data["source"])
File "...\venv\lib\site-packages\splitwise\notification.py", line 104, in __init__
    self.url = data["url"]
KeyError: 'url'

your package worked fine for me with getExpenses(), so maybe something changed in the Splitwise API for notifications and it requires adjustments?

all the best,
Or.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant