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
In the CreatePage function, when data is entered in the People type of the Type database, due to excessive DatabasePageProperty->People User struct item
body.properties.People.people[0].type should be not present, instead was "".
body.properties.People.people[0].name should be not present, instead was "".
body.properties.People.people[0].avatar_url should be not present, instead was "".
body.properties.People.people[0].person should be not present or an object, instead was null.
body.properties.People.people[0].bot should be not present or an object, instead was null. (code: validation_error, status: 400)
error occurs.
However, It can be solved by adding omitempty to each json item of User struct.
The text was updated successfully, but these errors were encountered:
In the CreatePage function, when data is entered in the People type of the Type database, due to excessive DatabasePageProperty->People User struct item
body.properties.People.people[0].type should be not present, instead was
""
.body.properties.People.people[0].name should be not present, instead was
""
.body.properties.People.people[0].avatar_url should be not present, instead was
""
.body.properties.People.people[0].person should be not present or an object, instead was
null
.body.properties.People.people[0].bot should be not present or an object, instead was
null
. (code: validation_error, status: 400)error occurs.
However, It can be solved by adding omitempty to each json item of User struct.
The text was updated successfully, but these errors were encountered: