Announcement
Collapse
No announcement yet.
(400) Field validation failure on comma decimal separator
Collapse
X
-
They might been working but not reliable. Now the problem is fixed with validation. Actually, it was added not in v8.0, but in v7.5.
-
Originally posted by yuri View PostThis parameter has nothing to do with API. It only affects representation.
Leave a comment:
-
This parameter has nothing to do with API. It only affects representation.
Leave a comment:
-
You should check your EspoCRM configuration here
Administration > Parameters
Leave a comment:
-
(400) Field validation failure on comma decimal separator
Hi,
after last update to 8.0.0 i got validation error 400 on posting through api if field type is currency and data that i am sending have comma "," as decimal separator",".
'totalAmount' : '100,00' gets error 400.
When I replaced comma with dot everything is ok
[2023-09-12 12:52:04] WARNING: (400) Field validation failure; entityType: Tender, field: totalAmount, type: valid.; POST /Tender; line: 56, file: /var/www/crm/application/Espo/Core/Exceptions/BadRequest.php
SandroTags: None
Leave a comment: