I use Rest api to create/update an article. I get an error when update it to "published" if the state ever get "published" before. To reproduce this case Please follow this steps:
- Create a draft article using REST API, it run well.
- Then I update the article by set state to "published" - worked
- Reupdate by set state to "draft" - worked
- Reupdate by set state to "published" again - don't work
curl --location --request PUT 'https://api.intercom.io/articles/6349370#39; \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer dG9rOmMzMTU4YzZDZiMWMyYToxOjA=' \
--data-raw '{ "state": "published" }'
The error I get is "parameter_invalid: This ruleset link is already activated."