[
https://issues.apache.org/jira/browse/FINERACT-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Foo Developer updated FINERACT-2724:
------------------------------------
Labels: beginner beginner-friendly (was: )
> 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: Screenshot 2026-07-30 163827.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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)