Forum

This content is now out of date.

Visit Our Community

Web Service error on ADDUSER

Hello,

I am currently doing some work with the Yellowfin 7.2 Beta, the 20151218 build.

I am attempting to send a ADDUSER AdministrationServiceRequest to the Web Service, and keep getting the error code 4 back (COULD_NOT_CREATE_PERSON).

I saw someone on the Japanese forums (http://www.japan.yellowfin.bi/YFForum-ADDUSER-WebService-function-returns-FAILURE-status-code-?thread=145097) that was having a similar issue, that wasn't resolved. Like in that forum post, the response I get back only has the "statusCode" of "FAILURE" and "errorCode" of "4". The messages element is NULL.

In the other thread you mentioned three possibilities for this error message:
"1. Password not set for new user.
2. Person already exists
3. Internal Person creation process failed..."

I can confirm it is not either 1 or 2 - I have the password set on the "person" object of the request, and I know the person does not already exist as the only Person in the Yellowfin database is the System Administrator.

Any help or advice on where to look would be greatly appreciated, thanks!

I attached the SOAP request and response. Note, the comment below made by "guest" was me, I just didn't realize I wasn't logged in at the time.
Just a note, I had created the same ticket yesterday as a guest, but once I got my user working again I re-submitted it here as a business user.

Here is the old ticket, that can be closed:

https://www.yellowfinbi.com/YFForum-Could-not-create-person-on-AddUser-request-?thread=216856
For reference, here is the request I am sending via SOAP to create the user. I tested it on the December 2015 patch build as well (the 7.1-20151209), and it worked fine, I just had to remove the "status" element on the person since that is new to the 7.2-20151218 build.

http://localhost:9091/services/AdministrationService







56a919df0177261c747c4c3a
false




ADDUSER


admin@yellowfin.com.au

1


test

test@test.com
James
S


Smith
password
YFADMIN
MR


56a91a481c26fe9864033d88












And the response, is just the generic 4, COULD_NOT_CREATE_PERSON.














4


















FAILURE