Top

XML formed incorrectly

Answered

Comments

7 comments

  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • Nicolas Gourdon

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

    0
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • Pascal BORSCHNECK

    Creating a Zendesk ticket to exchange files/full logs

    0
    Comment actions Permalink
  • 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
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message