Expand my Community achievements bar.

INVALID_INSTANCE: Invalid Instance

Avatar

Former Community Member
which instance is invalid?

it seems more like Server error, mayber url was invalid or
something

can this error be corrected? maybe more error info?

(just a note )
3 Replies

Avatar

Former Community Member
Hi,



When are you getting an invalid instance ? Can you the FB
debugger console that gives you this error ?



Thanks

Hironmay Basu

Avatar

Employee
Invalid instance means your room URL is invalid (and the room
probably doesn't exist). Instance is the combination
<account>/<room> (poor choice of name but at the time
it made sense)



If you run your application in the debugger you should see
one of the initial requests failing probably with an error 404.
Make sure the URL is correct and the room really exists.

Avatar

Former Community Member
I have a code at home, but basically what I do is following :


I authenticate my user on my server running blazeds, which
returns user role etc .. then I call Java class(one that comes with
SDK) to generate signed and encrypted string ..(for now class has
my info hardcoded: url, , room name etc ... ) then I take that
string and pass it to authenticator and that authenticator is set
under conSeasson property "authenticator"

and finally I initiate login() and I get that instance error
in debug version of FP10.



I did turn on debug for java class and all responses from
serve seemed fine, did not really see any 404 errors, I will double
check again today, but what I was rally thinking was if server
could return more detail error message to display to user instead
of INVALID_INSTANCE: Invalid Instance ,