Re: How to get a new UAA guid by REST

Juan Antonio BreƱa Moral <bren at>

Hi I could retrieve the uses but using your clue, I receive the following error:

Error: the string "{\"message\":\"Content type 'application/octet-stream' n
ot supported\",\"error\":\"scim\"}" was thrown, throw an Error :)

I think that my code is OK using the info from Github, but I suppose that I need some additional stuff:

Users.prototype.add = function (token_type, access_token) {
"use strict";

var url = this.UAA_API_URL + "/Users";

var options = {
method: 'POST',
url: url,
headers: {
Accept: 'application/json',
Authorization: token_type + ' ' + access_token

return this.REST.request(options, "200", false);

Do you have if I need some additional parameter?

I add the user in UAA to retrieve the guid-uaa and after use this call:

Juan Antonio

Join to automatically receive all group messages.