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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Invalid Argument: Exception Message: Required field Quote Id is missing

(0) ShareShare
ReportReport
Posted on by 133

Hi 

I'm trying to produce a quote of a new Sales instance. When I add quote products and try to save them I get the following error.

 Invalid Argument:

Error code: 0x80040203

Log: Exception Message: Required field Quote Id is missing

The quote ID is pulling through ok 

Can anyone help?

I have the same question (0)
  • Wahaj Rashid Profile Picture
    11,321 on at

    Hi,

    Do you have any plugin or workflow which triggers on creation of Quote?

  • prt33k Profile Picture
    6,907 on at

    Are you calling some javascript on onsave event? The error might be because of custom action too.... please share the screenshot of error.

  • Matt1405 Profile Picture
    133 on at

    Hi Prateek.

    No I'm not calling any custom actions.

    Here's the screenshot 

    pastedimage1613142166729v1.png

    And the log information 

    Exception Message: Required field Quote Id is missing

    ErrorCode: -2147220989
    HexErrorCode: 0x80040203

    ErrorDetails:
    HttpStatusCode: 400

    TraceText:
    [Microsoft.Dynamics.Sales.Plugins: Microsoft.Dynamics.Sales.Plugins.PreOperationQuotelineCreate]
    [71300c74-af96-e611-80ee-00155dc13806: Microsoft.Dynamics.Sales.Plugins.PreOperationQuotelineCreate: Create of quotedetail]
    Entered Microsoft.Dynamics.Sales.Plugins.PreOperationQuotelineCreate.Execute(), Correlation Id: 851f6007-f94d-490b-a772-c8b93075a2e2, Initiating User: e7335a11-5e5e-eb11-89f5-000d3a86d74d
    Exception: Microsoft.Dynamics.Solution.Common.CrmArgumentNullException: Required field Quote Id is missing (Fault Detail is equal to Exception details:
    ErrorCode: 0x80040203
    Message: Required field Quote Id is missing
    StackTrace:
    at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
    at System.Environment.get_StackTrace()
    at Microsoft.Dynamics.Solution.Common.CrmException.BuildOrganizationServiceFault(Exception innerException, Int32 errorCode, Int32 statusCode, String message)
    at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Exception innerException, Int32 errorCode, Int32 statusCode, Boolean isFlowControlException, Boolean enableTrace)
    at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Exception innerException, Int32 errorCode, Int32 statusCode, Boolean isFlowControlException)
    at Microsoft.Dynamics.Solution.Common.CrmException..ctor(String message, Exception innerException, Int32 errorCode)
    at Microsoft.Dynamics.Solution.Common.CrmArgumentNullException..ctor(String message)
    at Microsoft.Dynamics.Solution.Common.Exceptions.ThrowIfNull(Obje...)., Correlation Id: 851f6007-f94d-490b-a772-c8b93075a2e2, Initiating User: e7335a11-5e5e-eb11-89f5-000d3a86d74d
    Exiting Microsoft.Dynamics.Sales.Plugins.PreOperationQuotelineCreate.Execute(), Correlation Id: 851f6007-f94d-490b-a772-c8b93075a2e2, Initiating User: e7335a11-5e5e-eb11-89f5-000d3a86d74d

    Activity Id: f5a50db6-8fc3-4d93-9002-4e1a6b7e8d04

    Thanks for your help.

  • prt33k Profile Picture
    6,907 on at

    Hi Matt,

    Is this user a system administrator?

    Try with sys admin to see if the issue can be replicated.

    This is a internal plugin - and seem like the quote id is not being able to fetch - which make think about privilege issue.

    Thanks,

    Prateek

  • Matt1405 Profile Picture
    133 on at

    Hi Prateek,

    The user is already the sys admin.

  • Moiz Profile Picture
    20 on at

    Hi Prateek,

    I am facing the same error.

    I tried with system administrator but still facing same error.

    Kindly guide me.

    Thanks,

    Moiz

  • RohitRane Profile Picture
    37 on at

    Any update? Im facing the same issue.

  • Daniel Bell Profile Picture
    5 on at

    Has this ever been resolved?  I am facing the same issue as well.

    -Dan

    https://integent.com

  • Suggested answer
    AndrewZhang Profile Picture
    10 on at

    This is a bug designed by Microsoft, I think. The root cause is that the forms of Quote-Line is larger than one, resulting in other expressions not being associated with Quote. The solution is to remove the other forms of Quote-Line and keep only one. Similar errors that apply to other entities.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans