I'm working with CRM REST Builder to build my requests. I'm creating a web resource from it, I'm inserting a record with Decimal input. when entering a number from decimal input, this error is displayed:
Cannot convert a value to target type 'Edm.Decimal' because of conflict between input format string/number and parameter 'IEEE754Compatible' false/true.
Please help.
I'm working with CRM REST Builder to build my requests. I'm creating a web resource from it, I'm inserting a record with Decimal input. when entering a number from decimal input, this error is displayed:
Cannot convert a value to target type 'Edm.Decimal' because of conflict between input format string/number and parameter 'IEEE754Compatible' false/true.
Please help.
Share Improve this question edited Jul 27, 2017 at 1:31 Arun Vinoth PrecogTechnologies 22.8k17 gold badges62 silver badges177 bronze badges asked Apr 27, 2017 at 14:43 DEADEA 2951 gold badge5 silver badges22 bronze badges 1- 1 It might help to post the request.... – Aron Commented Jul 27, 2017 at 2:22
1 Answer
Reset to default 9I found that when submitting a json message to CRM Rest API, if the value is a string it gives me this error.
{ unitprice : "1234.00" }
You need to convert it to a number before hand so that it resolves like this:
{ unitprice : 1234.00 }