You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@fineract.apache.org by Bernard MUNYANDAMUTSA <mu...@gmail.com> on 2018/02/15 13:58:05 UTC

Ask for help

Hello Dear Team,

my name is Bernard.
i'm trying to repay a loan through loan repayment's API
(https://localhost:8443/fineract-provider/api/v1/loans/7/transactions
command=repayment)
with this request body:
{'dateFormat': 'yyyy-MM-dd','locale': 'en','transactionDate':
'2018-02-15','transactionAmount': "9500",'paymentTypeId': '1'}

But faced with the error which throws me this error messages;

{
  "developerMessage": "The request was invalid. This typically will happen
due to validation errors which are provided.",
  "httpStatusCode": "400",
  "defaultUserMessage": "Validation errors exist.",
  "userMessageGlobalisationCode": "validation.msg.validation.errors.exist",
  "errors": [{
    "developerMessage": "Loan Repayment or Waiver is not allowed. Loan
Account is not active.",
    "defaultUserMessage": "Loan Repayment or Waiver is not allowed. Loan
Account is not active.",
    "userMessageGlobalisationCode":
"error.msg.loan.repayment.or.waiver.account.is.not.active",
    "parameterName": "id",
    "value": null,
    "args": []
  }]
}

can anyone help me to fix this issue?

Re: Ask for help

Posted by Terence Monteiro <te...@sanjosesolutions.in>.
Hi Bernard,

Based on the message, it seems the loan #7 is not active and is likely the
cause of the issue.

--
Best Regards,
Terence Monteiro,
Mob: +91 96633 13728
www.sanjosesolutions.in

<http://goog_1610728024>
"Terroy", 67, 10th Cross,,
Lingarajpuram, Bangalore - 84.

On Thu, Feb 15, 2018 at 7:28 PM, Bernard MUNYANDAMUTSA <
munya.bernard@gmail.com> wrote:

> Hello Dear Team,
>
> my name is Bernard.
> i'm trying to repay a loan through loan repayment's API
> (https://localhost:8443/fineract-provider/api/v1/loans/7/transactions
> command=repayment)
> with this request body:
> {'dateFormat': 'yyyy-MM-dd','locale': 'en','transactionDate':
> '2018-02-15','transactionAmount': "9500",'paymentTypeId': '1'}
>
> But faced with the error which throws me this error messages;
>
> {
>   "developerMessage": "The request was invalid. This typically will happen
> due to validation errors which are provided.",
>   "httpStatusCode": "400",
>   "defaultUserMessage": "Validation errors exist.",
>   "userMessageGlobalisationCode": "validation.msg.validation.
> errors.exist",
>   "errors": [{
>     "developerMessage": "Loan Repayment or Waiver is not allowed. Loan
> Account is not active.",
>     "defaultUserMessage": "Loan Repayment or Waiver is not allowed. Loan
> Account is not active.",
>     "userMessageGlobalisationCode": "error.msg.loan.repayment.or.
> waiver.account.is.not.active",
>     "parameterName": "id",
>     "value": null,
>     "args": []
>   }]
> }
>
> can anyone help me to fix this issue?
>