Home > OS >  notion api missing property value
notion api missing property value

Time:07-16

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": "`fit"
                },
                "My property": {
                    "id": "ks@t"
                },
                "Name": {
                    "id": "title"
                }
            },

What are some ways to think about this?

CodePudding user response:

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

  • Related