After Test REST call in Module 5.3.5 of Importing Data Consuming REST Services, I got this error A problem occurred parsing attribute UnitPrice of object of type StockManagement.JsonObject.

0
After followed the learning path of Importing Data Consuming REST Services until Module 5.3.5 Test REST Call, I got the error as expressed herein once I pressed Get Products button. Could you help me explaining this error like what I missed and how to fix it? Thanks in advance.  Error Message: A problem occurred parsing attribute 'UnitPrice' of object of type 'StockManagement.JsonObject'. The value was '1.35'. This isn't allowed by the schema. Error: A problem occurred parsing attribute 'UnitPrice' of object of type 'StockManagement.JsonObject'. The value was '1.35'. This isn't allowed by the schema.    
asked
1 answers
1

Hi Phakawat,

 

Just check UnitPrice attribute datatype , you are passing decimal value . But when you define the attribute you would have given some other datatype except decimal.

answered