2
votes

when uploading a json sample document in watson discovery service, via the tool to create, i get this response:

{
    "code": 400,
    "error": "6"
}

I tried stripping my whole json, so thats there are no strange characters. e.g.

[
  {
    “text”: "JDE Reset JDE password",
    "FunctionName": "ERP"
  }
]

i thought error 6 was for unsupported characters, but not sure anymore..

1

1 Answers

0
votes

Try just with:

{
    "text": "JDE Reset JDE password",
    "FunctionName": "ERP"
  }

if dont work, test with:

 {
        "Content-Type: application/json"
        "text": "JDE Reset JDE password",
        "FunctionName": "ERP"
      }