Error: Input not a JSON Array

{
   "name": "starter-conversation-OK-Watson",
   "created": "2016-09-28T09:00:28.916Z",
   "intents": [
      {
         "intent": "admin",
         "created": "2016-09-29T12:20:31.350Z",
         "examples": [
            {
               "text": "register user",
               "created": "2016-09-29T12:20:40.368Z"
            },
            {
               "text": "reset context",
               "created": "2016-09-29T12:20:36.205Z"
            },
            {
               "text": "set user details",
               "created": "2016-09-29T12:21:03.804Z"
            }
         ],
         "description": null
      },
      {
         "intent": "demo",
         "created": "2016-09-28T13:08:40.993Z",
         "examples": [
            {
               "text": "can I see a demo?",
               "created": "2016-09-28T13:08:40.993Z"
            },
            {
               "text": "can I see a working example?",
               "created": "2016-09-28T13:08:40.993Z"
            },
            {
               "text": "can I see a working version?",
               "created": "2016-09-28T13:08:40.993Z"
            },
            {
               "text": "can you show me a live example of the breaking news app?",
               "created": "2016-09-28T13:08:40.993Z"
            },
            {
               "text": "can you show me an example?",
               "created": "2016-09-28T13:10:58.290Z"
            },
            {
               "text": "do you have a demo for this starter app?",
               "created": "2016-09-28T13:08:40.993Z"
            },
            {
               "text": "do you have a demo of the interpreter?",
               "created": "2016-09-28T13:08:40.993Z"
            },
            {
               "text": "do you have a working demo?",
               "created": "2016-09-28T13:08:40.993Z"
            }
         ],
         "description": null
      },
      {
         "intent": "feedback",
         "created": "2016-09-28T09:51:58.186Z",
         "examples": [
            {
               "text": "I don't think these nodes are very good - or at least they're not documented well.",
               "created": "2016-09-28T16:00:33.038Z"
            },
            {
               "text": "I like the way the documentation is written",
               "created": "2016-09-28T16:01:05.531Z"
            },
            {
               "text": "I love the way that the new breaking news service works!",
               "created": "2016-09-28T16:02:04.033Z"
            },
            {
               "text": "I'm finding it very difficult to make any of this work",
               "created": "2016-09-28T16:01:22.276Z"
            },
            {
               "text": "I'm having trouble following the instructions that are given",
               "created": "2016-09-28T16:00:51.295Z"
            },
            {
               "text": "it's really horrendous how badly these nodes are documented - There is absolutely no way any body can follow that! Infuriating!",
               "created": "2016-09-28T15:54:22.585Z"
            },
            {
               "text": "The ok-watson starter kit is awesome!",
               "created": "2016-09-28T16:02:21.049Z"
            },
            {
               "text": "These new nodes are awesome! I love the way they are used in the new flows!",
               "created": "2016-09-28T16:38:47.695Z"
            }
         ],
         "description": null
      },
      {
         "intent": "greeting",
         "created": "2016-09-28T09:10:31.757Z",
         "examples": [
            {
               "text": "Gday!",
               "created": "2016-09-28T09:13:43.901Z"
            },
            {
               "text": "good morning",
               "created": "2016-09-28T09:13:52.253Z"
            },
            {
               "text": "hello",
               "created": "2016-09-28T09:13:31.624Z"
            },
            {
               "text": "hey",
               "created": "2016-09-28T09:13:58.422Z"
            },
            {
               "text": "hi",
               "created": "2016-09-28T09:13:27.781Z"
            },
            {
               "text": "Ok Watson",
               "created": "2016-09-29T13:03:35.785Z"
            },
            {
               "text": "yo!",
               "created": "2016-09-28T09:13:38.638Z"
            }
         ],
         "description": null
      },
      {
         "intent": "name",
         "created": "2016-09-28T09:11:44.620Z",
         "examples": [
            {
               "text": "and you are?",
               "created": "2016-09-28T09:17:37.915Z"
            },
            {
               "text": "hello! how do I adress you?",
               "created": "2016-09-28T09:17:01.517Z"
            },
            {
               "text": "hey, and you are?",
               "created": "2016-09-28T09:17:33.800Z"
            },
            {
               "text": "hi! what's your name",
               "created": "2016-09-28T09:17:09.137Z"
            },
            {
               "text": "what do I call you",
               "created": "2016-09-28T09:14:12.523Z"
            },
            {
               "text": "what do I call you?",
               "created": "2016-09-28T09:15:05.699Z"
            },
            {
               "text": "what is your name?",
               "created": "2016-09-28T09:14:18.834Z"
            },
            {
               "text": "what's your name",
               "created": "2016-09-28T09:17:16.106Z"
            },
            {
               "text": "who are you?",
               "created": "2016-09-28T09:14:07.437Z"
            }
         ],
         "description": null
      },
      {
         "intent": "what-is",
         "created": "2016-09-28T09:13:21.726Z",
         "examples": [
            {
               "text": "can I ask you about politics?",
               "created": "2016-09-28T09:16:31.896Z"
            },
            {
               "text": "do you know about ibm products?",
               "created": "2016-09-28T09:16:07.521Z"
            },
            {
               "text": "do you know about pizza?",
               "created": "2016-09-28T09:15:47.413Z"
            },
            {
               "text": "what can I ask you about?",
               "created": "2016-09-28T09:15:22.633Z"
            },
            {
               "text": "what do you know about?",
               "created": "2016-09-28T09:15:14.075Z"
            },
            {
               "text": "what do you specialise in?",
               "created": "2016-09-28T09:17:50.663Z"
            },
            {
               "text": "what's your speciality",
               "created": "2016-09-28T09:15:35.658Z"
            },
            {
               "text": "what's your specialty?",
               "created": "2016-09-28T09:15:29.552Z"
            }
         ],
         "description": null
      }
   ],
   "updated": "2016-09-29T15:52:49.210Z",
   "entities": [
      {
         "entity": "action",
         "values": [
            {
               "value": "register",
               "created": "2016-09-29T11:03:03.087Z",
               "metadata": null,
               "synonyms": [
                  "set user details"
               ]
            },
            {
               "value": "reset",
               "created": "2016-09-29T11:03:36.227Z",
               "metadata": null,
               "synonyms": []
            }
         ],
         "created": "2016-09-29T11:02:48.913Z",
         "open_list": false,
         "description": null
      },
      {
         "entity": "admin",
         "values": [
            {
               "value": "reset",
               "created": "2016-09-29T12:40:27.933Z",
               "metadata": null,
               "synonyms": []
            }
         ],
         "created": "2016-09-29T12:40:27.933Z",
         "open_list": false,
         "description": null
      },
      {
         "entity": "response",
         "values": [
            {
               "value": "no",
               "created": "2016-09-28T13:51:35.830Z",
               "metadata": null,
               "synonyms": [
                  "nooo",
                  "nope"
               ]
            },
            {
               "value": "yes",
               "created": "2016-09-29T11:02:02.137Z",
               "metadata": null,
               "synonyms": [
                  "ok",
                  "yep"
               ]
            }
         ],
         "created": "2016-09-28T13:51:35.830Z",
         "open_list": false,
         "description": null
      },
      {
         "entity": "topic",
         "values": [
            {
               "value": "node-red",
               "created": "2016-09-29T12:17:14.573Z",
               "metadata": null,
               "synonyms": []
            },
            {
               "value": "pizza",
               "created": "2016-09-28T09:46:19.253Z",
               "metadata": null,
               "synonyms": []
            },
            {
               "value": "politics",
               "created": "2016-09-29T12:17:08.569Z",
               "metadata": null,
               "synonyms": []
            },
            {
               "value": "watson",
               "created": "2016-09-29T12:17:25.283Z",
               "metadata": null,
               "synonyms": []
            }
         ],
         "created": "2016-09-28T09:46:19.253Z",
         "open_list": false,
         "description": null
      }
   ],
   "language": "en",
   "metadata": null,
   "description": "starter conversation to be used with the Node-Red labs \"OK Watson\" starter kit.",
   "dialog_nodes": [
      {
         "go_to": null,
         "output": {
            "text": ""
         },
         "parent": null,
         "context": null,
         "created": "2016-09-28T09:44:31.547Z",
         "metadata": null,
         "conditions": "anything_else",
         "description": null,
         "dialog_node": "node_6_1475055871332",
         "previous_sibling": "node_2_1475151680155"
      },
      {
         "go_to": null,
         "output": {
            "text": "great - you're not disgusted!"
         },
         "parent": "node_11_1475056302998",
         "context": null,
         "created": "2016-09-28T15:53:34.522Z",
         "metadata": null,
         "conditions": "true",
         "description": null,
         "dialog_node": "node_25_1475078014299",
         "previous_sibling": "node_1_1475080578646"
      },
      {
         "go_to": null,
         "output": {
            "text": "I can point you to some new starter kits that have just been created to help you build your own node-red applications."
         },
         "parent": "node_7_1475055901992",
         "context": null,
         "created": "2016-09-29T12:15:54.198Z",
         "metadata": null,
         "conditions": "@topic && @topic:node-red",
         "description": null,
         "dialog_node": "node_1_1475151353977",
         "previous_sibling": null
      },
      {
         "go_to": null,
         "output": {
            "text": "I can't help you with @topic, sorry. Maybe build your own bot for the Bot Challenge!"
         },
         "parent": "node_7_1475055901992",
         "context": null,
         "created": "2016-09-28T09:45:28.928Z",
         "metadata": null,
         "conditions": "@topic",
         "description": null,
         "dialog_node": "node_8_1475055928362",
         "previous_sibling": "node_1_1475151353977"
      },
      {
         "go_to": null,
         "output": {
            "text": "I'm only a demo bot, so I don't know about much yet. Your best bet is to stick to the documented flows!"
         },
         "parent": "node_7_1475055901992",
         "context": null,
         "created": "2016-09-28T09:45:32.958Z",
         "metadata": null,
         "conditions": "true",
         "description": null,
         "dialog_node": "node_9_1475055932742",
         "previous_sibling": "node_8_1475055928362"
      },
      {
         "go_to": null,
         "output": {
            "text": "I've not been given a name yet. I'm only a very basic starter kit, so you can personalise me."
         },
         "parent": null,
         "context": null,
         "created": "2016-09-29T11:11:21.561Z",
         "metadata": null,
         "conditions": "#name",
         "description": null,
         "dialog_node": "node_1_1475147481344",
         "previous_sibling": "node_14_1475068033775"
      },
      {
         "go_to": null,
         "output": {
            "text": "Oh dear - we'd better get our act together"
         },
         "parent": "node_11_1475056302998",
         "context": null,
         "created": "2016-09-28T15:52:59.616Z",
         "metadata": null,
         "conditions": "$emotion:Disgust || $emotion:Anger",
         "description": null,
         "dialog_node": "node_24_1475077979384",
         "previous_sibling": null
      },
      {
         "go_to": null,
         "output": {
            "text": "Ok, I've got your details. Let's get started."
         },
         "parent": "node_2_1475151680155",
         "context": null,
         "created": "2016-09-29T12:22:01.504Z",
         "metadata": null,
         "conditions": "@action:register",
         "description": null,
         "dialog_node": "node_4_1475151721295",
         "previous_sibling": "node_3_1475151706376"
      },
      {
         "go_to": null,
         "output": {
            "text": "Ok, starting over."
         },
         "parent": "node_2_1475151680155",
         "context": null,
         "created": "2016-09-29T12:21:46.633Z",
         "metadata": null,
         "conditions": "@action:reset",
         "description": null,
         "dialog_node": "node_3_1475151706376",
         "previous_sibling": null
      },
      {
         "go_to": null,
         "output": {
            "text": "Super, glad you like it!"
         },
         "parent": "node_11_1475056302998",
         "context": null,
         "created": "2016-09-28T16:36:18.877Z",
         "metadata": null,
         "conditions": "$emotion:Joy",
         "description": null,
         "dialog_node": "node_1_1475080578646",
         "previous_sibling": "node_24_1475077979384"
      },
      {
         "go_to": null,
         "output": {
            "text": "Sure. I have a great one you can take a look at. I've tweeted the link to you. |tweet: Here's the demo you just asked for:|link:http://bit.ly/2ddfQnL|"
         },
         "parent": "node_15_1475069982763",
         "context": null,
         "created": "2016-09-28T15:44:28.231Z",
         "metadata": null,
         "conditions": "true",
         "description": null,
         "dialog_node": "node_23_1475077468009",
         "previous_sibling": null
      },
      {
         "go_to": null,
         "output": {
            "text": "We have some great new starter kits and examples. If you provide your twitter handle I can send you some links."
         },
         "parent": "node_14_1475068033775",
         "context": null,
         "created": "2016-09-28T13:43:01.340Z",
         "metadata": null,
         "conditions": "! $twitter || ! $twitter.handle",
         "description": null,
         "dialog_node": "node_17_1475070181092",
         "previous_sibling": "node_15_1475069982763"
      },
      {
         "go_to": null,
         "output": {
            "text": {
               "values": [
                  "Hi, how can I help you?",
                  "Hello! What can I do for you today?",
                  "Hello. What can I do to help you today?"
               ],
               "selection-policy": "random"
            },
            "append": false
         },
         "parent": "node_13_1475056630814",
         "context": null,
         "created": "2016-09-28T14:48:36.746Z",
         "metadata": null,
         "conditions": "true",
         "description": null,
         "dialog_node": "node_22_1475074116118",
         "previous_sibling": null
      },
      {
         "go_to": {
            "return": null,
            "selector": "condition",
            "dialog_node": "node_15_1475069982763"
         },
         "output": {},
         "parent": null,
         "context": null,
         "created": "2016-09-28T13:07:14.000Z",
         "metadata": null,
         "conditions": "#demo",
         "description": null,
         "dialog_node": "node_14_1475068033775",
         "previous_sibling": "node_11_1475056302998"
      },
      {
         "go_to": {
            "return": null,
            "selector": "condition",
            "dialog_node": "node_22_1475074116118"
         },
         "output": {
            "append": false
         },
         "parent": null,
         "context": null,
         "created": "2016-09-28T09:57:11.018Z",
         "metadata": null,
         "conditions": "#greeting",
         "description": null,
         "dialog_node": "node_13_1475056630814",
         "previous_sibling": null
      },
      {
         "go_to": {
            "return": null,
            "selector": "condition",
            "dialog_node": "node_23_1475077468009"
         },
         "output": {},
         "parent": "node_14_1475068033775",
         "context": null,
         "created": "2016-09-28T13:39:43.000Z",
         "metadata": null,
         "conditions": "$twitter && $twitter.handle",
         "description": null,
         "dialog_node": "node_15_1475069982763",
         "previous_sibling": null
      },
      {
         "go_to": {
            "return": null,
            "selector": "condition",
            "dialog_node": "node_24_1475077979384"
         },
         "output": {},
         "parent": null,
         "context": null,
         "created": "2016-09-28T09:51:43.231Z",
         "metadata": null,
         "conditions": "#feedback",
         "description": null,
         "dialog_node": "node_11_1475056302998",
         "previous_sibling": "node_7_1475055901992"
      },
      {
         "go_to": {
            "return": null,
            "selector": "condition",
            "dialog_node": "node_3_1475151706376"
         },
         "output": {},
         "parent": null,
         "context": null,
         "created": "2016-09-29T12:21:20.358Z",
         "metadata": null,
         "conditions": "#admin",
         "description": null,
         "dialog_node": "node_2_1475151680155",
         "previous_sibling": "node_1_1475147481344"
      },
      {
         "go_to": {
            "return": null,
            "selector": "condition",
            "dialog_node": "node_8_1475055928362"
         },
         "output": {},
         "parent": null,
         "context": null,
         "created": "2016-09-28T09:45:02.225Z",
         "metadata": null,
         "conditions": "#what-is",
         "description": null,
         "dialog_node": "node_7_1475055901992",
         "previous_sibling": "node_13_1475056630814"
      }
   ],
   "workspace_id": "06bde3f5-230f-4d4e-9728-2a65a4d51edd"
}

The error is correct: it is not a JSON array. So you have to fix it.
Where did get the data from?

It's solved now...,, Thank you for quick responding...

Hi, how did you solve it?

I'm entered wrong file non other JSON file

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