Microsoft CRM 2011 Server was unable to process your request

Posted on Posted in Microsoft, MS CRM 2011, MS Dynamics, MS Dynamics CRM

In CRM 2011 when inserting a new record I was keep getting

“Server was unable to process request”

Nothing in exception or anywhere else to give any details about
this error.

Finally managed to find out this was because I was passing
field to my entity as ‘MyFieldName’ where I had to pass it as ‘myfieldname’.
Need to make sure when passing field names it has to be in lower case otherwise
it will throw an error.

Hope this helps