Incorrect attribute value type System.String in Dynamics 365 (CRM) – Nishant Rana’s Weblog

We were getting the below error while creating an entity record through a C# Console Application.

This occurred because the code was trying to set string value to one of the decimal type field.

Parsing the string value to decimal and then setting it fixed it.

Hope it helps

Full Article

Incorrect attribute value type System.String in Dynamics 365 (CRM) – Nishant Rana’s Weblog

Blog Syndicated with Nishant Rana’s Permission

More About This Author

Nishant Rana

Author: Nishant Rana

Share This Post On