Just a couple of month ago, I created a couple of natural language classifiers with the training_data param to send training data as a json string. When I try it now, it fails with return code 415, even with exactly the same call and training data. What changed, and what needs to be done to correct this?
I am using runscope to train the classifier. The following is a call that worked a couple months ago and not now:
POST
https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers
Accept: */*
Accept-Encoding: gzip, deflate
Authorization: Basic <removed>
Connection: keep-alive
Content-Type: application/json
Body:
{
"language": "en",
"name": "Ami Classifier",
"training_data": [
{"classes": ["blue"],"text": "house"},
{"classes": ["blue"],"text": "cube"},
{"classes": ["blue"],"text": "box"},
{"classes": ["red"],"text": "ball"},
{"classes": ["red"],"text": "sphere"},
{"classes": ["red"],"text": "round"}
]
}
This is the response in the last few days:
Content-Type:
Date: Mon, 15 Feb 2016 04:09:17 GMT
Server: -
Set-Cookie: <Ami-removed>
X-Backside-Transport: FAIL FAIL
X-Client-Ip: 54.174.130.249
X-Dp-Watson-Tran-Id: csf_platform_prod_dp02-135442457
X-Global-Transaction-Id: 135442457
BODY view raw
(empty)
Please check the Bluemix status (https://developer.ibm.com/bluemix/support/#status). It came to my attention that there are currently some issues with the cloud infrastructure that is impacting some instances of the NLC training mechanisms. You should open a support ticket with the Bluemix support team, directions on this are here (https://developer.ibm.com/bluemix/support/#support).