Error:

In MS CRM 2013 – on premise, When I try to create a new Email activity in the opportunity page and insert one of the existing templates, I get the below error message “An error has occurred. Please return to the home page and try again.”

Error:400:Bad Request: unrecognized ‘Edm.Guid’ litral ‘guid’ ” in ‘***’

Error: Bad Request: unrecognized ‘Edm.Guid’ litral ‘guid’ ” in ’20’ UnRecognized ‘Edm.Guid’ literal ‘guid’null‘ Resolution: You got this error because some where in your code, your code is passing null value. In my case i was retrieving current records GUID using ‘Xrm.Page.data.entity.getId()’, but on create, there is no GUID, thus result is it was passing…