web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Error Creating Article with Dynamics 365 OOTB Template: Unexpected Token Issue

(2) ShareShare
ReportReport
Posted on by 16
I'm using the latest version of Dynamics 365. When I try to create an article using the out-of-the-box (OOTB) template, I get the following error message. I've also included the text from the log file. The 'unexpected token' shouldn't be an issue, as I'm cutting and pasting from Microsoft Word. To be sure, I've even tried using a single character and still get the same error. Additionally, the plugin it references doesn’t exist in the environment. See the screenshot from the XrmToolBox Plugin Registration Tool.
   
Exception Message: '=' is an unexpected token. The expected token is ';'. Line 1, position 665.
ErrorCode: -2147220891
HexErrorCode: 0x80040265
ErrorDetails: 
    ApiExceptionSourceKey: Plugin/Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle
    ApiStepKey: a4ef03e1-a828-43b4-ba12-efa1cee2cf16
    ApiDepthKey: 1
    ApiActivityIdKey: d2be5ad8-f09d-455c-8dc7-674ae3735064
    ApiPluginSolutionNameKey: msdynce_KnowledgeManagement
    ApiStepSolutionNameKey: msdynce_KnowledgeManagement
    ApiExceptionCategory: ClientError
    ApiExceptionMessageName: IsvAborted
    ApiExceptionHttpStatusCode: 400
    OperationStatus: 0
    SubErrorCode: -2146233088
    Plugin: 
        PluginTrace: [Microsoft.Dynamics.KnowledgeManagement.Plugins: Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle]
[a4ef03e1-a828-43b4-ba12-efa1cee2cf16: MainOperation PreCreateKnowledgeArticle]
Entered Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle.Execute(), Correlation Id: 886b8538-fc8f-43f5-bb60-aa18db046587, Initiating User: fecdd1e3-ffb6-ee11-a568-001dd8306aa2
Exiting Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle.Execute(), Correlation Id: 886b8538-fc8f-43f5-bb60-aa18db046587, Initiating User: fecdd1e3-ffb6-ee11-a568-001dd8306aa2
TraceText: 
    [Microsoft.Dynamics.KnowledgeManagement.Plugins: Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle]
    [a4ef03e1-a828-43b4-ba12-efa1cee2cf16: MainOperation PreCreateKnowledgeArticle]
    Entered Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle.Execute(), Correlation Id: 886b8538-fc8f-43f5-bb60-aa18db046587, Initiating User: fecdd1e3-ffb6-ee11-a568-001dd8306aa2
    Exiting Microsoft.Dynamics.KnowledgeManagement.Plugins.PreCreateOperationKnowledgeArticle.Execute(), Correlation Id: 886b8538-fc8f-43f5-bb60-aa18db046587, Initiating User: fecdd1e3-ffb6-ee11-a568-001dd8306aa2
Activity Id: d6316ae1-fc47-45d5-aa70-920b88b2b01b
-----------------------------
Categories:
I have the same question (0)
  • Verified answer
    RM-05111353-0 Profile Picture
    16 on at
    Error Creating Article with Dynamics 365 OOTB Template: Unexpected Token Issue
    I resolved this myself. I had initially created a custom knowledge article template within my application and then deleted it from there. The takeaway is that templates for Knowledge Articles in a custom application are managed through the Customer Service Admin Center in the environment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 77 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 48

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans