Closed adrianhrinko closed 12 months ago
Do you think it has something to with the Notion-Version we use? I wonder if that field was renamed recently. Would you like to submit a PR?
I ran into the same issue. @KoditkarVedant if you are interested in a fix, please see my pull request: https://github.com/notion-dotnet/notion-sdk-net/pull/369
@Dmitry-VF Thank you for providing the fix. I will try to take a look at this following weekend. I'm just not able to spend time on this project for the past few months.
This has been released as part of 4.2.0
The issue: When querying a database with the TimestampLastEditedTimeFilter, body validation fails as the Timestamp value should contain "last_edited_time" instead of "last_modified_time".
To reproduce:
https://github.com/notion-dotnet/notion-sdk-net/blob/f5c40c6d4f958649ff216fcbf82de760f22efafc/Src/Notion.Client/Models/Filters/TimestampLastEditedTimeFilter.cs#L42
Fix: Replace "last_modified_time" with "last_edited_time". It works for me.