Skip to content

Missing PropertyType "verification" throws JSON except #475

@boschn

Description

@boschn

Describe the bug
Ausnahme ausgelöst: "Newtonsoft.Json.JsonSerializationException" in mscorlib.dll
Newtonsoft.Json.JsonSerializationException: Error converting value "verification" to type 'Notion.Client.PropertyType'. Path 'type', line 1, position 79261. ---> System.ArgumentException: Requested value 'verification' was not found.
bei Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)

To Reproduce
retrieve a page from a notion database

Expected behavior
no exception

Screenshots
n/a

Desktop (please complete the following information):
by today - anything to do with the newer API from Notion on 2025-09-03 ?

Additional context
added to enum in PropertType.cs fixed the problem at first
// BUG: missing verification PropertyType
[EnumMember(Value = "verification")]
Verification,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions