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

Error in app (has Notion blocked it?) #3

Open
ian-hls2 opened this issue Dec 17, 2020 · 0 comments
Open

Error in app (has Notion blocked it?) #3

ian-hls2 opened this issue Dec 17, 2020 · 0 comments

Comments

@ian-hls2
Copy link

File "/app/.heroku/python/lib/python3.6/site-packages/notion/client.py", line 68, in init
self._update_user_info()
File "/app/.heroku/python/lib/python3.6/site-packages/notion/client.py", line 74, in _update_user_info
records = self.post("loadUserContent", {}).json()["recordMap"]
File "/app/.heroku/python/lib/python3.6/site-packages/notion/client.py", line 188, in post
response.raise_for_status()
File "/app/.heroku/python/lib/python3.6/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://www.notion.so/api/v3/loadUserContent

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