Title: Problems working with Arrays
Last modified: October 22, 2019

---

# Problems working with Arrays

 *  Resolved [andresnubeum7](https://wordpress.org/support/users/andresnubeum7/)
 * (@andresnubeum7)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/problems-working-with-arrays/)
 * Hi!
 * I’m experiencing some difficulties with the pluggin of Watson Assistant. In the
   assistant I designed, I operate with arrays to store some words that the user
   says along the conversation, specificly I operate with the append() function.
   The problem is when I want to add a new word to my Array, the assistant stops
   working and I can’t continue the dialog. I have searched in the inspect panel
   of my browser and I found this error in the Network section:
 * In the response of the server when I add a new word, following the path: output–
   debug – log_messages – 0 :
 * level: “error”
    message: “Error when updating context with context of dialog 
   node id [node_4_1571658128621]. Dialog Node context is [{“wordList”:”<? $wordList.
   append(‘A’) ?>”}].↵SpEL evaluation error: Expression [ $wordList.append(‘A’) ]
   converted to [ context[‘wordList’].append(‘A’) ] at position 21: EL1004E: Method
   call: Method append(String) cannot be found on JsonObject type↵” node_id: “node_4_1571658128621”
   node_title: “Show List”
 * This example right here It’s a simple test to find out that the problem is here,
   because it works in “Try it out” and “Link Preview”. I have already reported 
   this to IBM and they said that If the error can’t be duplicated in the two previous
   scenarios, I need to report it here. Also seems that It’s something I’m typing
   wrongly when I’m asigning the variables, but It works on the tests.
 * Thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * (@intelahelp)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-working-with-arrays/#post-12087790)
 * Hello [@andresnubeum7](https://wordpress.org/support/users/andresnubeum7/).
 * Sorry to be late with the reply. We are looking into it.
 *  Plugin Author [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * (@intelahelp)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/problems-working-with-arrays/#post-12180425)
 * Hello [@andresnubeum7](https://wordpress.org/support/users/andresnubeum7/).
    
   We released the new version of plugin (0.8.22) that has the fix to your issue.
   Please update your plugin to the latest version and let us know if the issue 
   persists.
 *  Plugin Author [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * (@intelahelp)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/problems-working-with-arrays/#post-12211488)
 * Topic was in a Waiting state for longer than 7 days, Topic was automatically 
   resolved

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problems working with Arrays’ is closed to new replies.

 * ![](https://ps.w.org/conversation-watson/assets/icon-256x256.png?rev=1684465)
 * [Chatbot with IBM watsonx Assistant](https://wordpress.org/plugins/conversation-watson/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/conversation-watson/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/conversation-watson/)
 * [Active Topics](https://wordpress.org/support/plugin/conversation-watson/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/conversation-watson/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/conversation-watson/reviews/)

## Tags

 * [arrays](https://wordpress.org/support/topic-tag/arrays/)

 * 3 replies
 * 1 participant
 * Last reply from: [Intela-bot Help](https://wordpress.org/support/users/intelahelp/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/problems-working-with-arrays/#post-12211488)
 * Status: resolved