Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Invalid Argument Error

(0) ShareShare
ReportReport
Posted on by

Hello Everyone,

Recently i am getting one error on click of revise button in quote entity,

Error-on-click-of-revise-button.png

Error log:

<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">attributeName</faultstring>

<detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ActivityId>06e086a5-3731-4157-b8f1-cf8a38c9b16d</ActivityId>

<ErrorCode>-2147220989</ErrorCode>

<ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>attributeName</Message>

<Timestamp>2017-11-14T05:53:29.1296534Z</Timestamp>

<ExceptionRetriable>false</ExceptionRetriable>

<ExceptionSource i:nil="true"/><InnerFault><ActivityId>06e086a5-3731-4157-b8f1-cf8a38c9b16d</ActivityId>

<ErrorCode>-2147220989</ErrorCode>

<ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>attributeName</Message>

<Timestamp>2017-11-14T05:53:29.1296534Z</Timestamp>

<ExceptionRetriable>false</ExceptionRetriable>

<ExceptionSource i:nil="true"/><InnerFault>

<ActivityId>06e086a5-3731-4157-b8f1-cf8a38c9b16d</ActivityId>

<ErrorCode>-2147220970</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>System.ArgumentNullException: Value cannot be null.Parameter name: attributeName</Message>

<Timestamp>2017-11-14T05:53:29.1296534Z</Timestamp>

<ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/>

<InnerFault i:nil="true"/><OriginalException i:nil="true"/>

<TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/>

<TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/>

<TraceText i:nil="true"/>

</OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

*This post is locked for comments

  • Sid07 Profile Picture
    Sid07 285 on at
    RE: Invalid Argument Error

    It seems from a custom code like in plugin  which you might have written and in it you are using Linq Query. And if it is an primary attribute then dont use ".Id" to match with the other id and it fails so instead use .GetAttributeValue format and specify the field name to check. This will solve the issue.

    Hope this helps.

    Sid

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans