I'm attempting to use Salesforce's SOAP API to publish a knowledge article, but when I set the PublishStatus
to Online
, I get the following error: Unable to create/update fields: PublishStatus. Please check the security settings of this field and verify that it is read/write for your profile or permission set.
[errors] => Array
(
[0] => stdClass Object
(
[fields] => Array
(
[0] => PublishStatus
)
[message] => Unable to create/update fields: PublishStatus. Please check the security settings of this field and verify that it is read/write for your profile or permission set.
[statusCode] => INVALID_FIELD_FOR_INSERT_UPDATE
)
)
Checking the "Knowledge Field-Level Security for profile" for the account I'm using Salesforce with, "Publish Status" has Read Access and Edit Access both checked. How do I alter the Publish Status field on a Knowledge Article with this error?