[
https://issues.apache.org/jira/browse/FINERACT-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Foo Developer updated FINERACT-2724:
------------------------------------
Attachment: image-2026-07-30-16-47-42-614.png
Description:
When calling the teller cashier allocate-cash endpoint
(POST/tellers/\{tellerId}/cashiers/\{cashierId}/allocate) with a non-numeric
txnAmount,
the API returns an unclear/generic error instead of a proper validation
message.
Steps to reproduce:
1. Call the allocate-cash endpoint with txnAmount set to a non-numeric
value.
2. Observe the error response.
Expected:
A clear validation error, e.g. "Amount must be a number".
Actual:
A generic/unclear error is returned instead.
!image-2026-07-30-16-47-42-614.png|width=407,height=190!
was:
When calling the teller cashier allocate-cash endpoint
(POST/tellers/\{tellerId}/cashiers/\{cashierId}/allocate) with a non-numeric
txnAmount,
the API returns an unclear/generic error instead of a proper validation
message.
Steps to reproduce:
1. Call the allocate-cash endpoint with txnAmount set to a non-numeric
value.
2. Observe the error response.
Expected:
A clear validation error, e.g. "Amount must be a number".
Actual:
A generic/unclear error is returned instead.
> Allocate Cash - Adjust the error message when amount is not an integer
> ----------------------------------------------------------------------
>
> Key: FINERACT-2724
> URL: https://issues.apache.org/jira/browse/FINERACT-2724
> Project: Apache Fineract
> Issue Type: Bug
> Components: Organization, Teller Module
> Reporter: Foo Developer
> Assignee: Foo Developer
> Priority: Major
> Labels: beginner, beginner-friendly
> Attachments: image-2026-07-30-16-47-42-614.png
>
>
> When calling the teller cashier allocate-cash endpoint
> (POST/tellers/\{tellerId}/cashiers/\{cashierId}/allocate) with a non-numeric
> txnAmount,
> the API returns an unclear/generic error instead of a proper validation
> message.
> Steps to reproduce:
>
> 1. Call the allocate-cash endpoint with txnAmount set to a non-numeric
> value.
> 2. Observe the error response.
>
>
>
> Expected:
> A clear validation error, e.g. "Amount must be a number".
>
> Actual:
> A generic/unclear error is returned instead.
> !image-2026-07-30-16-47-42-614.png|width=407,height=190!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)