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

Invalid Input #4

Open
loicpirez opened this issue Nov 3, 2021 · 0 comments
Open

Invalid Input #4

loicpirez opened this issue Nov 3, 2021 · 0 comments

Comments

@loicpirez
Copy link

Hello!

I followed all the setup instruction, installed the dependencies, authorise the application ...
When I run the script, I have this error which seems to be related to notion dependency:

Traceback (most recent call last):
  File "/Users/user/notion2googlecal/main.py", line 326, in <module>
    main("request")
  File "/Users/user/notion2googlecal/main.py", line 82, in main
    notion_events = calendar.collection.get_rows()
  File "/usr/local/lib/python3.9/site-packages/notion/collection.py", line 178, in get_rows
    return self.query(**kwargs)
  File "/usr/local/lib/python3.9/site-packages/notion/collection.py", line 175, in query
    return CollectionQuery(self, self._get_a_collection_view(), **kwargs).execute()
  File "/usr/local/lib/python3.9/site-packages/notion/collection.py", line 314, in execute
    self._client.query_collection(
  File "/usr/local/lib/python3.9/site-packages/notion/client.py", line 217, in query_collection
    return self._store.call_query_collection(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/notion/store.py", line 338, in call_query_collection
    response = self._client.post("queryCollection", data).json()
  File "/usr/local/lib/python3.9/site-packages/notion/client.py", line 183, in post
    raise HTTPError(
requests.exceptions.HTTPError: Invalid input.

Do you know how I could save this problem ? I would be more than happy to help for the investigation.

Thanks !

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