XML formed incorrectly
RespondidaHi everyone,
I have the following code in my webpage:
But when I execute it, I have the following error in the console:
Maybe someone can help me?
Thanks in advance,
Nicolas
-
Hi Nicolas.
I suppose you put in your REAL code your production login and password in your
myRainbowLogin and myRainbowPswd
variables ?
I dont see the
initialize(strApplicationID, strApplicationSecret)
in your code, it's normal ?
To have more logs, before the
initialize(strApplicationID, strApplicationSecret)
you should also call
setVerboseLog(boolHasVerboseLog)
Best regards,
Pascal -
Note: "XML formed incorrectly" this shouldn't come from the SDK but your web page (html code) or something you include in it or a browser extension which tries to adds himself in your page
About
initialize(strApplicationID, strApplicationSecret)
either you created a valid appID and secret, see HUB for howto or call initialize with empty strings.
Warning: "soon" on production, app without a valid appID will be prevented to login ! -
Initialize alone work fine. I have no error message.
But if I try to signin to create conversation, I have an "Error during signin" error. I can retrieve my contacts, but when I try to create conversation :
rainbowSDK.conversations.openConversationForContact(rainbowSDK.contacts.getContactByJID("xxxxxxxxxx@openrainbow.com"))
I have another error :
Por favor, entrar para comentar.
Comentários
7 comentários