New answers tagged


The error is telling you exactly what is wrong. System.TypeException: Invalid decimal: 30,000 30,000 is not a valid numeric literal in Apex. (The comma, specifically, is disallowed). Consider changing your service so that the caller provides an actual JSON number value, or at minimum a string value that can be parsed by Apex.

Top 50 recent answers are included