Re: Error to make a Request to update password in UAA


Juan Antonio BreƱa Moral <bren at juanantonio.info...>
 

Hi, I continue doing tests and I checked that I have the required permissions for current user:

{ value: '1b48d072-6715-40a4-b01c-f4f8ede67db9', display: 'password.write', type: 'DIRECT' },

https://github.com/cloudfoundry/uaa/blob/master/docs/UAA-APIs.rst#create-a-user-post-users

And I Updated the request:

uaa_options = {
"schemas":["urn:scim:schemas:core:1.0"],
"password": accountPassword
};

But UAA continue replying with the same message:

<p><b>message</b> <u></u></p><p><b>description</b> <u>The request sent by the c
lient was syntactically incorrect.</u></p><HR size=\"1\" noshade=\"noshade\"><h3
Apache Tomcat/7.0.55</h3></body></html>" was thrown, throw an Error :)
https://github.com/prosociallearnEU/cf-nodejs-client/blob/master/lib/model/UsersUAA.js#L45-L68
https://github.com/prosociallearnEU/cf-nodejs-client/blob/master/test/lib/model/UserUAATests.js#L142-L192

Can you provide a curl example to test with Go CLI using curl tool?

Many thanks in advance.

Juan Antonio

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.