Forum QuickConnect Error when using SimpleUsers

Discussion and help relating to PlayerIO's QuickConnect feature, including Facebook Connect and Kongregate Connect.

Error when using SimpleUsers

Postby QiX » September 2nd, 2010, 7:41 pm

hey guys.

I'm trying to setup the most basic quickConnect registration for SimpleUsers.
I get this error:
Error: There was an error with the registration fields, see the specific errors for details.
at <anonymous>()
at <anonymous>()

when i'm trying to use the method simpleRegister()
here's the code:
Code: Select all
      public function registerNewUser():void{
         trace("Registring new User");
            null, // captcha value, if captcha is used
            null, // any additional data you want
               trace("Registered", client);   
Posts: 34
Joined: July 22nd, 2010, 4:41 pm

Re: Error when using SimpleUsers

Postby nirza » September 3rd, 2010, 8:01 am

I think you are missing the extraData argument after the captcha nulls, you can see documentation here ... ickconnect

add another null if you don't use extraData.
Posts: 39
Joined: April 10th, 2010, 11:50 am

Re: Error when using SimpleUsers

Postby Benjaminsen » September 3rd, 2010, 8:39 am

Registration errors returns errors of the special type PlayerIORegistrationError. This type of error has several error modes more than the basic PlayerIOError. If you make your callback handler look like below, you should be told why the registration is failing.

Code: Select all
   trace("Got Error", e)
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Return to QuickConnect