cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
603
Views
0
Helpful
1
Replies

400 error from /messages API when POSTing adaptive cards

Raffaele Lagana
Cisco Employee
Cisco Employee

hi.. we are trying to send message to a webex support channel via Java.. we are getting 400 from POST https://api.ciscospark.com/v1/messages.. We are using Adaptive cards in the message.. It fails only when the no of elements is more than 15.. is there any documentation for the above api

1 Reply 1

Raffaele Lagana
Cisco Employee
Cisco Employee

I'm not sure what you mean when you say 'it fails when number of elements is more than 15', what elements exactly are you referring to?
Can you provide the JSON request for this?

Docs on adaptive cards and the /messages API can be found here:
https://developer.webex.com/docs/buttons-and-cards

https://developer.webex.com/docs/api/v1/messages