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

No values in page properties #73

Closed
SkytAsul opened this issue Aug 30, 2022 · 4 comments
Closed

No values in page properties #73

SkytAsul opened this issue Aug 30, 2022 · 4 comments
Labels
question Further information is requested

Comments

@SkytAsul
Copy link

All the properties of pages gotten via both NotionClient#queryDatabase and NotionClient#retrievePage have no values. I cannot understand why.

Notion sdk v1.7.0 with httpclient.

@seratch seratch added the question Further information is requested label Aug 31, 2022
@seratch
Copy link
Owner

seratch commented Aug 31, 2022

Hi @SkytAsul, this is due to Notion API's changes in the 2022-06-28 release: https://developers.notion.com/changelog/releasing-notion-version-2022-06-28#section-page-properties-must-be-retrieved-using-the-page-properties-endpoint

If you need properties of a page, your code needs to perform additional requests to fetch those.

As the maintainer of this project, I cannot help you out for this further. Let me close this issue now.

@seratch seratch closed this as completed Aug 31, 2022
@SkytAsul
Copy link
Author

Alright thank you. If I understood well, this means that I have to make 1 request per property?? Let's imagine I'd like to get 3 properties for like 4 pages: 12 requests! The rate limiter is going to blow up really fast...

@seratch
Copy link
Owner

seratch commented Aug 31, 2022

@SkytAsul A good news is that they are planning to revert the painful changes soon: https://notiondevs.slack.com/archives/C01D6KN3J4A/p1661877301261269

@seratch
Copy link
Owner

seratch commented Aug 31, 2022

The Notion platform reverted the changes. I will release a new version shortly #76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants