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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Getting a strange dialog error when going backwards in a BPF

(0) ShareShare
ReportReport
Posted on by 85

Hoping someone might be able to lead me down the correct path because I'm grasping at straws here

Context:

We use the web api to create an Account & Opportunity record, and tie them together in a business process flow.

Problem:

For records that are created via the above method, whenever the user in the Account portion of the BPF, if they try to go back a step they are met with a UI dialog error

"UciError: Cannot serialize request: Cannot serialize a request with no attribute metadata for mtc_creditbpf.a_37cf930a1e09eb11a813000d3acb4d13.parentaccountid"

pastedimage1612401631074v1.png

You would think that 'parentaccountid' would narrow it down, but we don't set it on the Account record via the web api and it's fine to be null.

Note that this only seems to happen when the user tries to transition back a step, going fowards is fine. However once the user receives teh above error when going backwards, you tend to get the error when both going to the next step or back a step

Full text of the error:

Error Details: UciError: Cannot serialize request: Cannot serialize a request with no attribute metadata for mtc_creditbpf.a_37cf930a1e09eb11a813000d3acb4d13.parentaccountid
at i (z.dynamics.com/.../app.js
at new d (z.dynamics.com/.../app.js
at da (z.dynamics.com/.../mds.js
at async ua (z.dynamics.com/.../mds.js

Activity Id: 129e9fd7-0499-40e7-a235-f9187377d89d

Happy to provide more detail if needed

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at

    Hi partner,

    Is the field parentaccountid required in your environment?

  • prt33k Profile Picture
    6,907 on at

    Is this the same behavior if you create record for UI - not just the webAPI?

    Is there are plugin/workflow on process stage change?

  • Joseph Ryan Profile Picture
    85 on at

    @Lu Hao parentaccountid is not required on either the Opportunity or Account entities. I've also tried setting a value in these fields but it makes no difference

  • Joseph Ryan Profile Picture
    85 on at

    @Prateek If i create the record via the UI I do not appear to get this error, only when creating via the webAPI

    No plugins on this bpf entity and none to my knowledge that trigger on stage change. I have also been keeping an eye on the Plugin Trace log and nothing is there

  • prt33k Profile Picture
    6,907 on at

    If it is only from webAPI then that could mean from UI there are some other fields that are getting filled in which doesn't get filled by webAPI (JavaScript or Business Rule). You can  also try a data import and you should get similar error message..

    Can you compare all the fields data from webAPI one and that from UI? You can use 'Level up from dynamics 365' addon from chrome to get all value in one page and then compare both the values from 2 different record.

  • Joseph Ryan Profile Picture
    85 on at

    @Prateek, have looked at the the schema, nothing particularly different

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans