cancel
Showing results for 
Search instead for 
Did you mean: 

Error DeepEntityInsert:The argument 1,000.000 cannot be interpreted as a number

Former Member
0 Kudos

I am developing a deep entity insert requirement on SAP Trading Contracts.  I am using the procedure within the Gateway Client to do a Get of an individual Trading Contract using getEntity (right side), and then copying the HTTP Response XML to the HTTP Request side (left side)

I then execute a POST with the proper URL (..../TradingContractSet).

I commented out the TKONN DB Key across the XML.

When I Execute the Request, I get an error in the log saying "The argument 1,000.000 cannot be interpreted as a number".

When I scan my XML, I do not have a "1,000.000" value anywhere in the XML.  Nor do I have any number fields that contain a comma.

As part of this process of "copying XML from Response to Request", is there anything that needs to be done to the decimal fields such that that are interpreted correctly?  Or does anyone know what this error message is telling me?

Thanks!

Kevin

Accepted Solutions (1)

Accepted Solutions (1)

former_member185414
Active Contributor
0 Kudos

Hi Kevin,

This is data type mismatch issue. The Gateway framework expects the decimal fields with quotes.

Try passing "1000.000".

Also, if not working then fire the Get call with data format as Json and use the same as request and share the snap shot .

BR.

Answers (0)