On Wed, 3 Jun 2020 at 14:45, pooja.kamra <[email protected]> wrote:
> Hi Maxim, > > > > Sorry but when I am trying to add user. It gives me error “Internal server > error”. Please help I am stuck with this it. > Please re-read my previous email :) > > > *From:* Maxim Solodovnik [mailto:[email protected]] > *Sent:* 03 June 2020 07:47 > *To:* Openmeetings user-list <[email protected]> > *Subject:* Re: Error in adding user > > > > Hello, > > > > (this is not support, this is user forum ....) > > > > The API might not be consistent (different methods might require different > param encoding) > > Most of them are covered by unit tests which are passed > > > > Here is the HTTP dump of successful call > > > > Address: > http://localhost:38763/openmeetings/services/user/?sid=38ee0ff7-7e4d-49ad-a914-cb4f8169b1f4 > Content-Type: application/json > ResponseCode: 200 > ExchangeId: 5772fe92-3477-4f44-8651-a2c77e4460b3 > Headers: {Date=Tue, 19 May 2020 16:39:53 GMT, > Content-Type=application/json} > Payload: > {"userDTO":{"address":{"country":"US","deleted":false,"email":"440d2194-ed72-4106-b25d-1056159d2609@local > ","id":5},"externalId":"440d2194-ed72-4106-b25d-1056159d2609","firstname":"testF440d2194-ed72-4106-b25d-1056159d2609","id":5,"languageId":0,"lastname":"testL440d2194-ed72-4106-b25d-1056159d2609","login":"test440d2194-ed72-4106-b25d-1056159d2609","rights":["ROOM"],"timeZoneId":"Europe/Astrakhan","type":"EXTERNAL"}} > > > > > > > > On Tue, 2 Jun 2020 at 15:47, pooja.kamra <[email protected]> wrote: > > Dear Support, > > > > I am facing error while adding user. > > I am using below request in chrome console: > > $.ajax({ > > method: "POST", > > url: "services/user?sid=efb23284-d071-4c4a-8bcd-256918d08a74", > > data: {user: JSON.stringify({ > > firstname: 'John1', > > lastname: 'Doe1', > > externalId: 'uid2', > > externalType: 'myCMS2', > > login: 'superjohn2' > > }), > > confirm:false}, > > dataType: "json" > > }); > > I am getting below error : > > POST > http://localhost:5080/openmeetings/services/user?sid=efb23284-d071-4c4a-8bcd-256918d08a74 > 500 > > Internal server error. > > Please help. > > > > Regards > > *Pooja Kamra* > > Tech Lead, Genesis > > Newgen Software Technologies Ltd. > > Tower-E, Aachvis Softech Pvt. Ltd., Plot No. 7, Sector 144, Noida – 201301 > > *Office : +91 120 676 1000 | Ext. : 1039 | Mob. : +918130162340* > > Web : www.newgensoft.com > > *NOTE: **Please create a helpdesk ticket / drop an email to > [email protected] <[email protected]> & cc [email protected] > <[email protected]> for any issues !! It will be handled according to > priority!* > > [image: cid:[email protected]] <http://newgensoft.com/> > > > > > > Disclaimer :- This e-mail and any attachment may contain confidential, > proprietary or legally privileged information. If you are not the original > intended recipient and have erroneously received this message, you are > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen Software > Technologies Ltd (NSTL) accepts no responsibilities for loss or damage > arising from the use of the information transmitted by this email including > damages from virus and further acknowledges that no binding nature of the > message shall be implied or assumed unless the sender does so expressly with > due authority of NSTL. > > > > > > > > > > > -- > > Best regards, > Maxim > > Disclaimer :- This e-mail and any attachment may contain confidential, > proprietary or legally privileged information. If you are not the original > intended recipient and have erroneously received this message, you are > prohibited from using, copying, altering or disclosing the content of this > message. Please delete it immediately and notify the sender. Newgen Software > Technologies Ltd (NSTL) accepts no responsibilities for loss or damage > arising from the use of the information transmitted by this email including > damages from virus and further acknowledges that no binding nature of the > message shall be implied or assumed unless the sender does so expressly with > due authority of NSTL. > > > > > -- Best regards, Maxim
