APIResponseError: body failed validation. Fix one:
body.properties.Status.title should be defined, instead was `undefined`.
body.properties.Status.rich_text should be defined, instead was `undefined`.
body.properties.Status.number should be defined, instead was `undefined`.
body.properties.Status.url should be defined, instead was `undefined`.
body.properties.Status.select should be an object or `null`, instead was `[{"name":"Template"}]`.
body.properties.Status.multi_select should be defined, instead was `undefined`.
body.properties.Status.people should be defined, instead was `undefined`.
body.properties.Status.email should be defined, instead was `undefined`.
body.properties.Status.phone_number should be defined, instead was `undefined`.
body.properties.Status.date should be defined, instead was `undefined`.
body.properties.Status.checkbox should be defined, instead was `undefined`.
body.properties.Status.relation should be defined, instead was `undefined`.
body.properties.Status.files should be defined, instead was `undefined`.
body.properties.Status.status should be defined, instead was `undefined`.
body.properties.title.id should be defined, instead was `undefined`.
body.properties.title.name should be defined, instead was `undefined`.
body.properties.title.start should be defined, instead was `undefined`.
When I remove the Status property, it works fine (see image below):
I can' see where the mistake is since I copied and adapted it from other issues and discussions. I also tried different names of Status like status, tags and so on.
I created the following database:
Now, I wanted to create an entry like so:
which throws the following error:
When I remove the
Status
property, it works fine (see image below):I can' see where the mistake is since I copied and adapted it from other issues and discussions. I also tried different names of
Status
likestatus
,tags
and so on.Originally posted by @baniasbaabe in https://github.com/ramnes/notion-sdk-py/discussions/217