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
If the page contains link_preview blocks, BlocksClient.RetrieveChildrenAsync throws the following exception. (version: 4.0.0-preview-4.9.11.2022)
Newtonsoft.Json.JsonSerializationException: Error converting value "link_preview" to type 'Notion.Client.BlockType'. Path 'type', line 1, position 470.
---> System.ArgumentException: Requested value 'link_preview' was not found.
at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
--- End of inner exception stack trace ---
If the page contains
link_preview
blocks,BlocksClient.RetrieveChildrenAsync
throws the following exception. (version: 4.0.0-preview-4.9.11.2022)https://developers.notion.com/reference/block#link-preview-blocks
https://developers.notion.com/changelog/link-previews-block-and-rich_text-supported-in-response
The text was updated successfully, but these errors were encountered: