Traceback (most recent call last):
File "D:/Thomas/GitHub/notion-clear-trash/notion_clear_trash.py", line 145, in <module>
raise SystemExit(main())
File "D:/Thomas/GitHub/notion-clear-trash/notion_clear_trash.py", line 133, in main
block_id_list = get_trashed_block_id_list(
File "D:/Thomas/GitHub/notion-clear-trash/notion_clear_trash.py", line 57, in get_trashed_block_id_list
results = client.post(endpoint='/api/v3/search', data=query)
File "c:\windows\system32\src\notion\notion\client.py", line 260, in post
raise HTTPError(
requests.exceptions.HTTPError: Something went wrong. (400)
Did someone has a similar issue and know how to fix it ?
Hello, As part of a module to clear deleted pages, this piece of code was working fine previously, however now it generates an 400 HTTP Error.
Did someone has a similar issue and know how to fix it ?
Thank you !