Hi Tarun, Can you tell me, is that address configuration is enabled for client. If yes, you can add "address":[ ] and try!
On Tue, Dec 13, 2016 at 9:24 AM, Tarun Mudgal <tarun.mudga...@gmail.com> wrote: > Hi, > > I'm trying to fix the issue of not being able to create client > <https://github.com/openMF/android-client/issues/433>in the android app. I > went through the API docs and it says only > > firstname and lastname OR fullname, > officeId, > active=true and activationDate OR active=false, > if(address enabled) address > > are mandatory fields in the POST request. Following this, the following > payload should have been a valid one. > > > > > > > > > > > > > > > > > *{"active":false,"dateFormat":"dd MMMM > > YYYY","firstname":"ttest","lastname":"ttest","locale":" > en","officeId":1}* > > > But the server responds with exception: > > > > > > > > > > > > > > *{"timestamp":1481562391901,"status":500,"error":"Internal Server > > Error","exception":"java.lang.IllegalArgumentException"," > message":"Invalid > > pattern specification"} * > > > Am I missing something? Could someone please help me with it? > > Also, what do the clientClassificationOptions and > clientClassificationId signify? > The template (/clients/templates) sends an empty array for > clientClassificationOptions and the server expects (while creating a > client) the clientClassificationId field value to be greater than 0. > However, I've not been able to find the details about these. > > Thanks > > -- > Tarun Mudgal > University of Delhi > -- Thanks and regards, Mifos Community Support *Conflux Technologies Pvt Ltd <http://www.confluxtechnologies.com/> * #304, 2nd Floor, 7th Main Road HRBR Layout 1st Block Bengaluru, Karnataka, 560043 INDIA Disclaimer: The information contained in this e-mail message and any files/attachment transmitted with it is confidential and for the sole use of the intended recipient(s) or entity identified. If you are not the intended recipient, please email: supp...@confluxtechnologies.com and destroy/delete all copies and attachment thereto along with the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and is unlawful. The recipient acknowledges that Conflux Technologies Private Limited or its subsidiaries and associated companies are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions. Before opening any attachments, please check.