运行报错:Client error '400 Bad Request' for url 'https://api.notion.com/v1/databases/None'
xushuhui opened this issue · comments
按照微信公众号教程部署启动后,在 action 中 run job 失败,报错信息如下
Run python -u scripts/read_time.py
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/notion_client/client.py", line 118, in _parse_response
response.raise_for_status()
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/httpx/_models.py", line 761, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://api.notion.com/v1/databases/None'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/weread2notion-pro/weread2notion-pro/scripts/read_time.py", line 85, in <module>
notion_helper = NotionHelper()
一样的问题,蹲一个解决方案
一样的问题
一样的问题
me as well
求问下怎么解决呀,能否分享下