maximgeller/notion2googlecal

Invalid Input

Opened this issue · 0 comments

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 !