Search code examples
apinotion-api

notion api missing property value


This is a problem that occurred during the process of retrieving the value of the database by using notion API.

The communication is successful, so the json data is being parsed, but there is a problem that the value of the property entered in the nootion DB is not loaded.

When testing using Postman, the name of the property is reflected as follows, but only the ID is entered.

 "properties": {
                "Tag": {
                    "id": "%60fit"
                },
                "My property": {
                    "id": "ks%40t"
                },
                "Name": {
                    "id": "title"
                }
            },

What are some ways to think about this?


Solution

  • It seems like it's a problem with latest version of notion client, I was able to solve this by downgrading to "@notionhq/client": "^0.4.4",

    Hope it helps