You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Kigred Developer <ki...@gmail.com> on 2022/04/24 23:56:43 UTC

Validation Error When Creating Term Deposit Products

Hi Devs,

I run into the following error everytime I try to update Term Deposit
Products (Fixed Deposits and Recurring Deposit Products)

Error Response:  chart.slabs.range.end.incorrect.

This is the update I am testing with:

{"charts":[{"fromDate":"01 December
2021","endDate":null,"chartSlabs":[{"description":"Level
1","periodType":1,"fromPeriod":0,"toPeriod":90,"annualInterestRate":12}],"locale":"en","dateFormat":"dd
MMMM yyyy"}],"charges":[],"locale":"en"}

according to the api-docs, this looks okay but some it does not go through.
What am I doing wrong?

Regards.
Kigred

Re: [Mifos-users] Validation Error When Creating Term Deposit Products

Posted by Kigred Developer <ki...@gmail.com>.
Hello Alberto,

I get the same error when with this body:
{"charts":[{"fromDate":"01 January 2022","endDate":"31 December
2022","chartSlabs":[{"description":"Level
1","periodType":1,"fromPeriod":1,"toPeriod":90,"annualInterestRate":12}],"locale":"en","dateFormat":"dd
MMMM yyyy"}],"charges":[],"locale":"en"}

On Mon, Apr 25, 2022 at 3:18 AM JOSE ALBERTO HERNANDEZ MALDONADO <
jose.hernandez@fintecheando.mx> wrote:

> Hello!
>
> You have a null value for the endDate
> {"fromDate":"01 December 2021","endDate":null,"chartSlabs":[
>
> Thanks and best regards
> Alberto
>
>
> On Sun, Apr 24, 2022 at 6:57 PM Kigred Developer <
> kigred.developer@gmail.com> wrote:
>
>> Hi Devs,
>>
>> I run into the following error everytime I try to update Term Deposit
>> Products (Fixed Deposits and Recurring Deposit Products)
>>
>> Error Response:  chart.slabs.range.end.incorrect.
>>
>> This is the update I am testing with:
>>
>> {"charts":[{"fromDate":"01 December
>> 2021","endDate":null,"chartSlabs":[{"description":"Level
>> 1","periodType":1,"fromPeriod":0,"toPeriod":90,"annualInterestRate":12}],"locale":"en","dateFormat":"dd
>> MMMM yyyy"}],"charges":[],"locale":"en"}
>>
>> according to the api-docs, this looks okay but some it does not go
>> through. What am I doing wrong?
>>
>> Regards.
>> Kigred
>> _______________________________________________
>> Mifos-users mailing list
>> Mifos-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mifos-users
>>
> _______________________________________________
> Mifos-users mailing list
> Mifos-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mifos-users
>

Re: [Mifos-users] Validation Error When Creating Term Deposit Products

Posted by JOSE ALBERTO HERNANDEZ MALDONADO <jo...@fintecheando.mx>.
Hello!

You have a null value for the endDate
{"fromDate":"01 December 2021","endDate":null,"chartSlabs":[

Thanks and best regards
Alberto


On Sun, Apr 24, 2022 at 6:57 PM Kigred Developer <ki...@gmail.com>
wrote:

> Hi Devs,
>
> I run into the following error everytime I try to update Term Deposit
> Products (Fixed Deposits and Recurring Deposit Products)
>
> Error Response:  chart.slabs.range.end.incorrect.
>
> This is the update I am testing with:
>
> {"charts":[{"fromDate":"01 December
> 2021","endDate":null,"chartSlabs":[{"description":"Level
> 1","periodType":1,"fromPeriod":0,"toPeriod":90,"annualInterestRate":12}],"locale":"en","dateFormat":"dd
> MMMM yyyy"}],"charges":[],"locale":"en"}
>
> according to the api-docs, this looks okay but some it does not go
> through. What am I doing wrong?
>
> Regards.
> Kigred
> _______________________________________________
> Mifos-users mailing list
> Mifos-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mifos-users
>