In response to the question : Create Salesforce KB article using API

I used the curl call that is provided and I run into the below error :

        "message": "entity type cannot be inserted: FAQ",
        "fields": []

My request in Postman is :

POST https://na1.salesforce.com/services/data/v45.0/sobjects/FAQ__kav

Headers Authorization : Bearer Content-Type : application/json

Body { "summary" : "This is a test KB article" }

Appreciate if anyone could point me in the right direction. Thanks a lot.

1 Answer 1


I was able to find the solution using the WorkBench tool provided by Salesforce : https://workbench.developerforce.com/

To create an Article, you would need to pass the articleType with the suffix __kav as shown below :

POST /services/data/v45.0/sobjects/Support_Community__kav

Body: ( mandatory parameters -> summary,title,urlName )

 "summary":"Summary for the Article",
 "urlName":"Url Name fo Testing"

Note: Support_Community is the ArticleType for the article you are creating.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.