You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to work ahead to support v4.0.0 and RetrievePagePropertyItem and noticed it was already in v3.1.0 but got this error when trying to retrieve a number property on a simple 5 property database. Title, Date, Select, and RichText type properties work fine.
Newtonsoft.Json.JsonSerializationException
Error converting value 6043 to type 'Notion.Client.Number'. Path 'number', line 1, position 71.
Source=Newtonsoft.Json
Inner Exception 1:
ArgumentException: Could not cast or convert from System.Int64 to Notion.Client.Number.
The text was updated successfully, but these errors were encountered:
@Scantheus you trying library and reporting these bugs. If you are open you can also open the pull request and I'm happy to accept it. I mostly try to work on weekends on this library. Any help would be appreciated.
@KoditkarVedant Sorry, The API is outside of my level of expertise. I'm a desktop developer with very little web API experience. I'm good for testing and sometimes pointing you where I think the issue is but, otherwise, I'm not helpful as a code contributor.
I was trying to work ahead to support v4.0.0 and RetrievePagePropertyItem and noticed it was already in v3.1.0 but got this error when trying to retrieve a number property on a simple 5 property database. Title, Date, Select, and RichText type properties work fine.
Newtonsoft.Json.JsonSerializationException
Error converting value 6043 to type 'Notion.Client.Number'. Path 'number', line 1, position 71.
Source=Newtonsoft.Json
Inner Exception 1:
ArgumentException: Could not cast or convert from System.Int64 to Notion.Client.Number.
The text was updated successfully, but these errors were encountered: