Node-red-contrib-spark

I try to work with node-red-contrib-spark not communicate with cisco webex team. but I get a 400 request error. I get a temporary beare token from the web https://developer.webex.com/docs/api/v1/messages/create-a-message
I try to create the message from api node, it inject this json in the input:

{
    "body": {
        "toPersonEmial": "myEmail@gmail.com",
        "text": "HOLA DESDE NODE-RED"
    }
}

and this is the error:

error 400: Message destination could not be determined. 
Provide only one destination in the roomId, toPersonEmail, or toPersonId field | trackingId: ROUTERGW_a02f391d-58a4-480b-9089-ac94f2ff3e22

can someone help me, thanks

Is that a typo, should it be "ToPersonEmail" ?

I get the same error with that change

Note the spelling and capitalisation in the error :point_down: Vs what you have :point_up:

toPersonEmail

if it was a typo. the 400 error was not the same, confusion.
It seems that you can't send a message to the same email configured as profile name, I changed the email and it worked. thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.