Open yanmendes opened 3 years ago
Same here. Yesterday all work fine, from this morning i got HTTPError on call_query_collection
Traceback (most recent call last):
File "/home/test1.py", line 24, in
Looks like the request payload has changed for the POST request to queryCollection
endpoint and instead of:
"collectionId": "collection-id",
"collectionViewId": "view-id",
it now requires
"collectionId": {
"id":"collection-id",
"spaceId":"space-id"
},
"collectionViewId": {
"id":"view-id",
"spaceId":"space-id"
},
I will check if my assumptions are correct and will do a pull request
Hi, I have a script that has been running for a while now and it stopped working yesterday evening.
Here's the call:
notionClient.get_collection_view("{databaseURL}").collection.get_rows()
Here's the result: