09-13-2017 01:56 AM
Hello,
I trying to create user following this doc Cisco WebEx XML API
But I get failure response with message "Error setting up or modifying user profile" and exceptionID 030105
(CreateMeeting works well)
What I doing wrong? Please help
Request:
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<email>sample@email</email>
<password>samplepassword</password>
<siteName>sitename</siteName>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.user.CreateUser">
<active>ACTIVATED</active>
<email>host1@sitename.com</email>
<password>samplehostpassword</password>
<webExId>host1</webExId>
<firstName>fn</firstName>
<lastName>ln</lastName>
<privilege>
<host>true</host>
</privilege>
</bodyContent>
</body>
</serv:message>
Response:
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service"
xmlns:com="http://www.webex.com/schemas/2002/06/common"
xmlns:use="http://www.webex.com/schemas/2002/06/service/user">
<serv:header>
<serv:response>
<serv:result>FAILURE</serv:result>
<serv:reason>Error setting up or modifying user profile</serv:reason>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
<serv:exceptionID>030105</serv:exceptionID>
</serv:response>
</serv:header>
<serv:body>
<serv:bodyContent/>
</serv:body>
</serv:message>
Solved! Go to Solution.
09-13-2017 04:29 PM
Your site appears to be integrated with Spark Common Identity, users and credentials are stored in Spark, not WebEx and your configuration with WebEx might not be fully functional for two way functionality.. that error message can be found in the release notes
When an API call to a Spark Meet with WebEx site fails or returns an unexpected response, the response contains the newly introduced exception: "Error setting up or modifying user profile"
though the release notes for this functionality indicates CreateUser may be possible w/the integration fully setup correctly, however you cannot create activated users and they will have to follow a link in their email to finish setup if possible.. Try removing all but the minimum required elements from your request.
09-13-2017 08:04 AM
Is this site using SSO/SAML external Authentication? If so then you cannot use this API Call.
09-13-2017 03:12 PM
Is this site using SSO/SAML external Authentication? If so then you cannot use this API Call.
No, SSO is disabled
09-13-2017 03:16 PM
Are the credentials in securityContext a Site Admin? Are you sure no user with that webexID exists? (even deactivated)
09-13-2017 03:31 PM
Yes, I tried two admin accounts, and few webexIDs. It does not help.
What means exception code 030105? I didn't find any info
09-13-2017 03:34 PM
Whats your sitename?
09-13-2017 03:40 PM
Ryan Hunt wrote:
Whats your sitename?
beincourt
09-13-2017 03:44 PM
You definitely do have a SSO/Common Identity configuration enabled for this site, as such you cannot create users via the WebEx API.
If I go to beincourt.webex.com and click Login it redirects you to an external SSO login page.. attached is what a standard non-sso login page currently looks like:
09-13-2017 04:14 PM
When I click sign in on beincourt.webex.com I redirects to Sign In - Cisco WebEx
I see "doSSO" in url on signin page, but in the admin panel I have disabled SSO option. Why this happens?
screenshots attached
09-13-2017 04:29 PM
Your site appears to be integrated with Spark Common Identity, users and credentials are stored in Spark, not WebEx and your configuration with WebEx might not be fully functional for two way functionality.. that error message can be found in the release notes
When an API call to a Spark Meet with WebEx site fails or returns an unexpected response, the response contains the newly introduced exception: "Error setting up or modifying user profile"
though the release notes for this functionality indicates CreateUser may be possible w/the integration fully setup correctly, however you cannot create activated users and they will have to follow a link in their email to finish setup if possible.. Try removing all but the minimum required elements from your request.
09-14-2017 08:01 AM
Thanks for a link, it very helped. Now I see I can't use createUser method as I want. Spark requires email verification, so it can't satisfy me.
What options I have? I need start meetings from few different hosts, host creation should be dynamic.
Can I disable spark or create webex account like on your screenshot from message #7 (with standard non-sso login page)?
09-14-2017 10:58 AM
Can you explain why you need dynamic hosts? They should be persistent accounts.
09-14-2017 11:08 AM
I need to create host for the user when he register in my service. User should have ability to create meetings and invite attendees.
I cannot allow all users in me service use same webEx account due to security reasons. Each user must not see meetings of other users.
09-14-2017 11:24 AM
You'll want a Standalone WebEx Site, I'm not sure if Spark Integration can be disabled.. could require a new site, you'll want to talk to your CSM about this.
09-24-2017 10:57 PM
I have signed up for the trial account and am receiving the same error (see below). I am ok with the user receiving an email message to register. What do I need to do to make the createUser call work?
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:use="http://www.webex.com/schemas/2002/06/service/user">
<serv:header>
<serv:response>
<serv:result>FAILURE</serv:result>
<serv:reason>Error setting up or modifying user profile</serv:reason>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
<serv:exceptionID>030105</serv:exceptionID>
</serv:response>
</serv:header>
<serv:body>
<serv:bodyContent/>
</serv:body>
</serv:message>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide