invalid DATA : error maximum decimal place

invalid DATA : error maximum decimal place

Hello,

When creating a Deal with associated products, I have a technical error with the Amount data, but I don't understand what the problem is. Any help would be appreciated.

  1. request : {"Deal_Name":"FC24-10","Stage":"A régler","Sub_Pipeline":"Echeancier Standard","Pipeline":{"id":"6028338000000475001"},"Account_Name":{"id":"6028338000000511066"},"Contact_Name":{"id":"6028338000000511071"},"Amount":"70.56","Associated_Products":[{"Product":{"id":"6028338000000513425"},"Quantity":3,"List_Price":19.6}]}
    response2 : {"data":[{"code":"INVALID_DATA","details":{"maximum_length":16,"api_name":"Amount","json_path":"$.data[0].Amount","maximum_decimal_place":2},"message":"invalid data","status":"error"}]}




Used Json with status error


Amount formating



What's surprising is that this error is not systematic. Here's another dataset where the status code is success :


  1. request : {"Deal_Name":"FC23-6","Stage":"A régler","Sub_Pipeline":"Echeancier Standard","Pipeline":{"id":"6028338000000475001"},"Account_Name":{"id":"6028338000000511066"},"Contact_Name":{"id":"6028338000000511071"},"Amount":"20.88","Associated_Products":[{"Product":{"id":"6028338000000513424"},"Quantity":2,"List_Price":17.4},{"Product":{"id":"6028338000000513672"},"Quantity":3,"List_Price":34.8}]}
    response2 : {"data":[{"code":"SUCCESS","details":{"Modified_Time":"2024-01-15T02:01:45+01:00","Modified_By":

Update
I made additionnal tests.
When I truncate the List_Price variable to remove decimals, error status code is solved.
But I still don't understand what's causing the problem


  1. request : {"Deal_Name":"FC24-10","Stage":"A régler","Sub_Pipeline":"Echeancier Standard","Pipeline":{"id":"6028338000000475001"},"Account_Name":{"id":"6028338000000511066"},"Contact_Name":{"id":"6028338000000511071"},"Amount":"70.56","Associated_Products":[{"Product":{"id":"6028338000000513425"},"Quantity":3,"List_Price":19}]}
    response2 : {"data":[{"code":"SUCCESS","details":{"Modified_Time":"2024-01-15T14:07:28+01:00","Modified_By":