go-notion icon indicating copy to clipboard operation
go-notion copied to clipboard

Saving empty values

Open RGarbers opened this issue 1 year ago • 0 comments

Hey,

it seems impossible to save or update pages in a database with empty values ("", nil, [], ...). Since empty values are omitted in json encoding, notion responds with "body.properties.. should be defined, instead was undefined".

Is there a way to store empty values, that I am not aware of? Otherwise, this seems to be a bug or explicitly not supported.

Thanks

RGarbers avatar Jun 16 '23 06:06 RGarbers