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 :
Customer experience | Sales, Customer Insights,...
Suggested answer

Unexpected Error during load of Sales Acceleration

(0) ShareShare
ReportReport
Posted on by 2
Hi everyone,
 
Since yesterday afternoon, we get an error when opening the sales accelerator in Dynamics 365 online. The Worklist shows up, but the selection of a record from the worklist results in an /Unexpected Error/ on the form. The form does not show up. There is also no error dialog. 
I have not updated any solution. So I think it is unlikely that the error is caused by a customization.
 
From the console, I could identify two possible error sources:
  1.  /A record with the same value for the unique key of workqueuestatus (msdyn_wqstateuniquekey) already exists./
  2.  The second error occurs in an app.js script when a custom business rule is initialized
 
//
 
Xrm.Page.data = null and hence the call to entity property leads to an error.
 
I would appreciate any help or hint, you can give me.
 
Thanks, Alex
 
I have the same question (0)
  • Haig Liu Profile Picture
    Microsoft Employee on at
    Unexpected Error during load of Sales Acceleration
    Hi Alex,
     
    If the error is caused by an OOB script, it is recommended that you raise a support ticket and provide the exact time when the error occurred,
    and Microsoft's technical support engineers can look up this error record and its description in the background.
     
    I hope this helps, but please let me know if you need anything else or if you have any other questions.
    thanks,
    Haig Liu
  • AlexBuedenbender Profile Picture
    2 on at
    Unexpected Error during load of Sales Acceleration
    Hi Haig,
     
    thank you for your answer.
    1.  The items in the work list are actually manually added activities not connected to a sequence. Secondly, I do not use a workflow in in respect to sequences.
    2.  The error occurs in an OOB Microsoft Script. I do not have any influence on that. 
     
    Further I can tell that the "Unexptected Error" only occurs on activities connected to accounts and leads, that is when the corresponding form tries to load. Opportunities and contacts are not affected and their records are successfully loaded.
    There is a separate business rule associated with the account and lead form and no business rule in contacts and opportunities. Because the error happens in a function to initialize business rules, it might have something to do with them, although the business rule validations were successful and there is no such error when loading the records regularly outside the sales accelerator.
     
    Regards,
    Alex
  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at
    Unexpected Error during load of Sales Acceleration
    Hi,
     
    1. l thought of a possibility:
    With OOB the sequence can't be connected to a lead twice at the same time, unless the last work list has been completed.
    Meanwhile, we can use workflows to connect leads to sequences, and the error you are experiencing could be because the same lead is connected to multiple sequences or connected to the same sequence twice.
     
    2. Xrm.Page.data is best placed in the Onload event; also, please see this thread:
     
    I hope this helps, but please let me know if you need anything else or if you have any other questions.
    thanks,
    Haig Liu

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 141

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 132

#3
DAnny3211 Profile Picture

DAnny3211 130

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans