10000 `phone` and `text` no longer supported in the query database endpoint. · Issue #246 · notion-dotnet/notion-sdk-net · GitHub
[go: up one dir, main page]

Skip to content
phone and text no longer supported in the query database endpoint. #246
Closed
@KoditkarVedant

Description

@KoditkarVedant

Version 2022-02-22 no longer supports phone and text property filters in the query database endpoint. For consistency with the database property types, use phone_number and rich_text instead when filtering on phone_number and rich_text properties.

More concretely, this query database filter will throw a validation error:

{
    "filter": {
        "and": [
            {
                "property": "Phone number",
                "phone": {
                    "equals": "1112223333"
                }
            }
        ]
    }
}

This query database filter will succeed:

{
    "filter": {
        "and": [
            {
                "property": "Phone number",
                "phone_number": {
                    "equals": "1112223333"
                }
            }
        ]
    }
}

Notion changelog: https://developers.notion.com/changelog/releasing-notion-version-2022-02-22

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0