Souvikns / Notion-Board

Sync GitHub issue to you notion database.
Apache License 2.0
22 stars 10 forks source link

Open/Close states in "wrong" colors causes failure #25

Closed csholmq closed 3 years ago

csholmq commented 3 years ago

When the database is being populated the state is by default open and the color will be randomly picked. The same when an issue is closed for closed. If the colors don't match the green/red schema it will throw an error and fail.

Error: Select option color doesn't match existing for 7c0301b9-b494-4c3a-924c-e9ab35e8124d.

Changing the selects manually so that the colors match green/red for open/closed fixes the problem.

Not sure if this is a Notion bug, but maybe the easiest mitigation on this end is to leave out the color property when creating/updating the state?

csholmq commented 3 years ago

Added a ticket to https://github.com/makenotion/notion-sdk-js/issues/192

csholmq commented 3 years ago

Confirmed to be working now.