Developer technologies | .NET | F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
#Error when testing the endpoint despite the test data has the same input data schema {'error': {'code': 400, 'message': "Input Data Error. Input data are inconsistent with schema.\nSchema: {'input1': '1:Dataset'}\nData: {'WebServiceInput0': defaultdict(<class 'list'>, {'CulmenLength': [49.1], 'CulmenDepth': [4.8], 'FlipperLength': [1.2], 'BodyMass': [5.5]})}\nNoneType: None\n", 'details': ''}}
Hi Lamis,
In you python script you can replace 'WebServiceInput0' with 'input1'.
It should look like this :
data = {
"Inputs": {
"input1":
[
{
'CulmenLength': 49.1,
'CulmenDepth': 4.8,
'FlipperLength': 1220,
'BodyMass': 5150,
},
],
},
"GlobalParameters": {
}
}