cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

If your Cloud Collaboration question is not answered quickly, please email devsupport@webex.com for additional help

1970
Views
0
Helpful
16
Replies
Highlighted
Beginner

WebEX API CreateUser issue

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>

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Contributor

Re: WebEX API CreateUser issue

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.

View solution in original post

16 REPLIES 16
Highlighted
Contributor

Re: WebEX API CreateUser issue

Is this site using SSO/SAML external Authentication? If so then you cannot use this API Call.

Highlighted
Beginner

Re: WebEX API CreateUser issue

Is this site using SSO/SAML external Authentication? If so then you cannot use this API Call.

No, SSO is disabled

Highlighted
Contributor

Re: WebEX API CreateUser issue

Are the credentials in securityContext a Site Admin? Are you sure no user with that webexID exists? (even deactivated)

Highlighted
Beginner

Re: WebEX API CreateUser issue

Yes, I tried two admin accounts, and few webexIDs. It does not help.

What means exception code 030105? I didn't find any info

Highlighted
Contributor

Re: WebEX API CreateUser issue

Whats your sitename?

Highlighted
Beginner

Re: WebEX API CreateUser issue

Ryan Hunt wrote:

Whats your sitename?

beincourt

Highlighted
Contributor

Re: WebEX API CreateUser issue

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:

Screen Shot 2017-09-13 at 4.45.31 PM.png

Highlighted
Beginner

Re: WebEX API CreateUser issue

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

oejTjrcV3MsHNv

eecwFCqG3MsHR7

Highlighted
Contributor

Re: WebEX API CreateUser issue

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.

View solution in original post

Highlighted
Beginner

Re: WebEX API CreateUser issue

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)?

Highlighted
Contributor

Re: WebEX API CreateUser issue

Can you explain why you need dynamic hosts? They should be persistent accounts.

Highlighted
Beginner

Re: WebEX API CreateUser issue

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.

Highlighted
Contributor

Re: WebEX API CreateUser issue

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.

Highlighted
Beginner

Re: WebEX API CreateUser issue

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>