From user-return-556-archive-asf-public=cust-asf.ponee.io@fineract.apache.org Thu Feb 15 18:10:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A630118064A for ; Thu, 15 Feb 2018 18:10:09 +0100 (CET) Received: (qmail 80936 invoked by uid 500); 15 Feb 2018 17:10:08 -0000 Mailing-List: contact user-help@fineract.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@fineract.apache.org Delivered-To: mailing list user@fineract.apache.org Received: (qmail 80926 invoked by uid 99); 15 Feb 2018 17:10:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2018 17:10:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2B1631A013A for ; Thu, 15 Feb 2018 17:10:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.24 X-Spam-Level: ** X-Spam-Status: No, score=2.24 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id D8_I9-snR_3t for ; Thu, 15 Feb 2018 17:10:04 +0000 (UTC) Received: from mail-ot0-f182.google.com (mail-ot0-f182.google.com [74.125.82.182]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7BE765F18B for ; Thu, 15 Feb 2018 17:10:03 +0000 (UTC) Received: by mail-ot0-f182.google.com with SMTP id f18so344035otf.6 for ; Thu, 15 Feb 2018 09:10:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=CyyCRrhM2m075IwK9+uUG1juF0UX49FuAwajXnU8tEc=; b=I+QLrEdaSTbRauY6UH6xr1sXDmlcnRB2tatdBE/7DbRcQ1m6aSAh2uTGdULzKUJOmc +T2CLf05pccqYiLm1quc4QhA9AUXQhxPSXHozwmwjMHE5fs/jRhqm/toM7TNBSKM87IZ 2oAPmCPMoRYFtBJPGSS+QpNssPYKkUsKWFG52855tfUyIiH9obNT4uptPp67g66QIByZ PdMdMvUtavX7FN+q7umdVPUbQEqhDO8wFIm2l867LbzFt6MOOr0f/t//2sku+T7u8M5s dnXV9OajMqwcxtcSXlVs3TJvrbwD07wv88GcHY9ZH/W4l3UqQjPOPYlcf9sgsFdEARmD Qaig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=CyyCRrhM2m075IwK9+uUG1juF0UX49FuAwajXnU8tEc=; b=f4HyQOwB5UL8UbWpH1DSlSwQ88Doe7dwbfsjXTecdyx/P8FsBBhh0NHzuZg7R+L/3F wAhVSclcEZ/4JNWwSN6Yv5+IY5FjrgF8aGyIS8Sty94hnurueb/Q05m/cv52t95WjHMu ZJlcKxO38SK6IxbxsAj9adgdURw0bTGR2d4Dc4bqdf9WXgjYgZwDeB8wXtrrRNkqU2t3 kUfingdQD9KS0pl/6KnU9+AnpIWH8nbfhwK4aGvFGEFFJWk2SZnbBHJKSVUg3/bbqsbC yraCUcIvws8lxgdO6ciQfynmtMYHvzP0qN1Npfc132J/Z3zhjDdbXompUbT6v8dGcXV3 rh6g== X-Gm-Message-State: APf1xPBAJ2FwiCNoCXshy+PoaLUA+A/EmG55EFK9/4VCFp2rBri7EMuq ci5rVOsCDIy5uX/JTfLTtUXqKJ9FhrFXefFAO1Q= X-Google-Smtp-Source: AH8x225An+tKIRSWF7vKYibb28ZLT5vaYS7pW3rVm0sZKon+ZE8wuauFxab3yGEcL+hvNCp6ddDXkFs1pfZeT+EoMVY= X-Received: by 10.157.49.113 with SMTP id v46mr2281413otd.254.1518714602044; Thu, 15 Feb 2018 09:10:02 -0800 (PST) MIME-Version: 1.0 Sender: terence.placker@gmail.com Received: by 10.157.4.42 with HTTP; Thu, 15 Feb 2018 09:10:01 -0800 (PST) In-Reply-To: References: From: Terence Monteiro Date: Thu, 15 Feb 2018 22:40:01 +0530 X-Google-Sender-Auth: tO5Ec2zww1xggs5GB3SpI1WenPU Message-ID: Subject: Re: Ask for help To: user@fineract.apache.org Content-Type: multipart/alternative; boundary="001a11c15d1c5ec2770565434cba" --001a11c15d1c5ec2770565434cba Content-Type: text/plain; charset="UTF-8" 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 "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? > --001a11c15d1c5ec2770565434cba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Bernard,

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

--=
Best Regards,
Teren= ce Monteiro,
Mob:= +91 96633 13728

"Terroy", 67, 10th Cross,,
Lingarajpuram,=C2=A0Bangalore - 84.
<= /div>

On Thu, Feb 15, 2018 at 7:28 PM, Bernard MUN= YANDAMUTSA <munya.bernard@gmail.com> wrote:
Hello Dear Team,

my name is Bernard.
i'm trying to repay a loan through loan= repayment's API
c= ommand=3Drepayment)=C2=A0
with this request body:=C2=A0
{'dateFormat': 'yyyy-MM-dd','locale': 'en'= ,'transactionDate': '2018-02-15','transactionAmoun= t': "9500",'paymentTypeId': '1'}=C2=A0
<= div>=C2=A0
But faced with the error which throws me this error me= ssages;=C2=A0

{
=C2=A0 "develo= perMessage": "The request was invalid. This typically will happen= due to validation errors which are provided.",
=C2=A0 "= ;httpStatusCode": "400",
=C2=A0 "defaultUserM= essage": "Validation errors exist.",
=C2=A0 "= userMessageGlobalisationCode": "validation.msg.validation.errors.exist",
=C2=A0 "errors": [{
= =C2=A0 =C2=A0 "developerMessage": "Loan Repayment or Waiver = is not allowed. Loan Account is not active.",
=C2=A0 =C2=A0 = "defaultUserMessage": "Loan Repayment or Waiver is not allow= ed. Loan Account is not active.",
=C2=A0 =C2=A0 "userMe= ssageGlobalisationCode": "error.msg.loan.repayment.or.w= aiver.account.is.not.active",
=C2=A0 =C2=A0 "parameterN= ame": "id",
=C2=A0 =C2=A0 "value": null,=
=C2=A0 =C2=A0 "args": []
=C2=A0 }]
}

can anyone help me to fix this issue?

--001a11c15d1c5ec2770565434cba--