Hi there,
Just started using Bigml and discovered the R package.
While I am familiar with R, connecting to Bigml using curl seems to be a stumbling block.
I get the following bad request, wondering where I am failing. My setCredentials
(
"username"
,
"api_key"
) is working fine.
and I used the following to get set up with curl.
# set the curl options
curl <- getCurlHandle()
options(RCurlOptions = list(capath = system.file("CurlSSL", "cacert.pem",
package = "RCurl"),
ssl.verifypeer = FALSE))
curlSetOpt(.opts = list(proxy = 'proxyserver:port'), curl = curl)
Source creation in progress...
Error in .check_for_code(result) :
Error: BigML returned code HTTP_BAD_REQUEST {
"code": 400,
"status": {
"code": -1204,
"extra": {
"dataset": {
"fields": "The key of the objects in this field must be any of ['description', 'name', 'preferred', 'label']"
}
},
"message": "Bad request"
}
}