Top

XML formed incorrectly

Répondu

Commentaires

7 commentaires

  • Pascal BORSCHNECK

    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

    0
    Actions pour les commentaires Permalien
  • Nicolas Gourdon

    Hi Pascal, thanks for your answer.

    Yes, I've put the real code in the final code ;-)

    If I put this code:

    I have the following error:

    No more informations if I active VerboseLog... :-(

    0
    Actions pour les commentaires Permalien
  • Nicolas Gourdon

    Hum... With debug mode I have more informations but it is difficult to debug... ^^

    0
    Actions pour les commentaires Permalien
  • Pascal BORSCHNECK

    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 !

    0
    Actions pour les commentaires Permalien
  • Nicolas Gourdon

    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 :

    0
    Actions pour les commentaires Permalien
  • Pascal BORSCHNECK

    Creating a Zendesk ticket to exchange files/full logs

    0
    Actions pour les commentaires Permalien
  • kebe kadiatou

    hi , pascal, 

    i have the same error than Nicolas i don't know why , can you help me please ?

    my error is :Error: getOrCreateOneToOneConversation undefined failure No jid or no phoneNumber

    thank you

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.

Vous n'avez pas trouvé ce que vous cherchez?

  • Contactez-nous

    Vous avez des questions? Laissez-nous un message pour obtenir plus d'informations.

    Contactez-nous
  • Demandez à la Communauté

    Vous avez besoin d'aide? Posez vos questions à la Communauté et obtenez des réponses d'autres utilisateurs Rainbow.

    Poster un message