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.
- 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 :
- 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
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":
Sticky Posts
Announcing #BiginnersClub meetups in US, Middle East, India & UK (Free Event)
Exciting news, Bigin enthusiasts! #BiginnersClub meetups are back, and we're hitting some major cities this time, starting from October. Here's what you can expect: Meet our experts face-to-face Deep dive into Bigin and its advanced features Personalised
[New] Create invoices and contracts in minutes with Zoho Writer's Merge Templates for Bigin!
Do you often find yourself manually entering customer information in your business documents like invoices and contracts? This can be a time-consuming process that can take up valuable time from your business operations. With Zoho Writer's Merge Templates
Introducing Forms: Streamline data collection with Bigin's new form builder.
Hello everyone, Bigin's web forms just got a makeover! We are excited to introduce Forms: an online form builder designed to meet all your data collection need. This revamp was inspired by your feedback, resulting in an upgraded and versatile version
Announcing #BiginnersClub meetups in India, Middle East & Africa, and UK
Yes, you heard it right! #BiginnersClub meetups are back. Whether you're a long-time customer looking to learn more about Bigin, or a new customer trying to explore Bigin, our in-person meetup is definitely the right place to get a deeper understanding
[Early Access] Introducing Connected Pipelines for seamless transition of information between Pipelines
Hello Everyone! Recently we've rolled out early access for Team Pipelines - Bigin's next major leap to transform and unify customer operations for small businesses. One constant feedback we've received from our early adopters is that once a record reaches