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

Number in NumberPropertyValue needs to be Nullable. #164

Closed
Scantheus opened this issue Oct 3, 2021 · 1 comment · Fixed by #167
Closed

Number in NumberPropertyValue needs to be Nullable. #164

Scantheus opened this issue Oct 3, 2021 · 1 comment · Fixed by #167
Assignees
Labels
bug Something isn't working hacktoberfest
Milestone

Comments

@Scantheus
Copy link

As per 2021-08-16 Notion API version, empty database properties are now returned as null.

https://developers.notion.com/changelog/notion-version-2021-08-16#empty-database-properties-are-now-returned-as-null

I got this exception when querying and a record hand an empty Number type field.
Exception : Error converting value {null} to type 'System.Double'. Path 'number', line 1, position 1237.

I did not check other property types that may now be nullable.

@KoditkarVedant KoditkarVedant added bug Something isn't working hacktoberfest labels Oct 4, 2021
@kashifsoofi
Copy link
Contributor

Can I take this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants