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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Looking for assistance with Unrecognized 'Edm.Guid' literal 'guid''' in '32'. error

(0) ShareShare
ReportReport
Posted on by 90

All -

I am new to CRM Dynamics support - taking over for a deployment team that has been disbanded.  A recently discovered error (which has been persistent since the original deployment) was uncovered through regression testing.  I have established a Fiddler trace log of the events and have captured three event lines in sequence that produce similar error messages to the following:

Unrecognized 'Edm.Guid' literal 'guid''' in '32'.

The Fiddler trace log indicates that this is perhaps a bad select statement - I can find this select statement in a client custom javascript file but I do not know what next steps to take or where next to turn to review either custom entities or forms/fields that may be impacting and producing the error - Any guidance would be greatly appreciated

GET https://clientname.crm.dynamics.com/XRMServices/2011/OrganizationData.svc/clientname_policySet?$select=%20clientname_BillPalan,%20clientname_Policy_Number,clientname_PolicyStatus%20&$filter%20=%20clientname_RelatedCustomerId/Id%20eq%20%20(guid'') HTTP/1.1
Content-Type: application/json; charset=utf-8

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Royal King Profile Picture
    27,686 on at

    clientname_RelatedCustomerId guid is going as null in the odata query that's why it was throwing this error. Copy the odata url  that has been built in javascript and paste same  in the browser. If you are passing all the parameters properly it will show result in the browser other wise it will show an error.

  • joemac130 Profile Picture
    90 on at

    Hello Chitra -

    Thank you for looking at this - One thing that I did notice in my review was that when I removed the filter string that the data set did return positive results...  leaving the filter string as part of the URL and the results were negative...

    This led me to further review the javascript (js) and I found a difference between the js   and the constructed GET 'URL' sourced from the Fiddler logs...  I have altered the client name for privacy purposes but otherwise the strings are intact...  I notice that the filter string in the js file does not build consistently in the URL sourced from the Fiddler trace - do you see anything syntax related to the js string that would not pass properly?

    This section is the actual line from the js file

    clientname.crm.dynamics.com/.../clientname_policySet$select=clientname_BillPalan,clientname_Policy_Number,clientname_PolicyStatus&$filter=clientname_RelatedCustomerId/Id eq  (guid'" + guid + "')

    This is the URL as sourced from the Fiddler logs...  clientname.crm.dynamics.com/.../clientname_policySet$select=clientname_BillPalan,clientname_Policy_Number,clientname_PolicyStatus&$filter=clientname_RelatedCustomerId/Id eq (guid'')

  • Royal King Profile Picture
    27,686 on at

    You are not passing guid in the Odata query thats why it was throwing an error . Check the highlighted potion of the code where there is no guid specified between the single quote 

    $select=clientname_BillPalan,clientname_Policy_Number,clientname_PolicyStatus&$filter=clientname_RelatedCustomerId/Id eq (guid'')

    the query should be something like below

    $select=clientname_BillPalan,clientname_Policy_Number,clientname_PolicyStatus&$filter=clientname_RelatedCustomerId/Id eq (guid'92bdb804-955f-4c33-ac46-57087ffbc6d3')

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans