Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-806

addNewUser SOAP method doe not return valid error code

    XMLWordPrintableJSON

Details

    Description

      addNewUser SOAP method doe not return valid error code

      The problem was as Follows:

      I'm trying out Openmeetings SOAP API for the first time and I'm running into a bit of a problem. I'm trying to add a new user with the addNewUser function and I get back the message code "-40". From my understanding, this is an indication that everything should be fine, given the documentation:

      -40 Message You have successfully signed up. An email with a verification code will be sent to your mailbox.

      However, I go to my email account and find nothing. I know my Openmeetigns is configured to send email just fine because it does so for lost passwords and alike (I've even tested it with the particular email address I'm trying to use), however no such email is sent in the situation above. Also (I don't know if this is an indication of any issue but just in case) no added user shows up in the "Users" administration panel. Additionally (again, don't know if this is a problem) no entry is made in the om_users table in the database.

      Solution: Turns out my test username was too short. I was using "bob" and openmeetings didn't like that. However, this was not reflected in any sort of error message returned by SOAP...at least none that my code picked up on (see below). Just thought this might be helpful to anyone who might be in the same situation (I'd already typed up a whole bunch so I figured it would be good not to let it go to waste).

      Attachments

        Activity

          People

            solomax Maxim Solodovnik
            solomax Maxim Solodovnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: