Errors
Explanation and suggested solutions for common errors.
Last updated
Was this helpful?
Explanation and suggested solutions for common errors.
Last updated
Was this helpful?
You do not have the proper authentication.
Check that the organization id and model id are both correct (check 👉 )
If these are correct, then generate a new ML API secret token as it is possible your previous one was invalidated or expired (generate 👉 )
You do not have the proper authentication to query the given model.
Check that the model id is listed under model ids to which you have read and/or write access (check 👉 )
Check that the organization id and model id are both correct (check 👉 )
The JSON input is not formatted correctly.
If you are passing in a file make sure the path is correct
Make sure the input is written using JSON syntax, for example:
booleans are lowercase (true, false)
null should be used rather than nan, NaN, None
Look for trailing commas:
{"exampleFloat": 4, "exampleString": "example",}
The server could not process your request.
Make sure you input json has the correct types
Check that your data and times are in ISO 8601 format
Check that ints and floats are consistent with their specified type
Example :
{"message":[{"instancePath":"","schemaPath":"/properties/weightClass","keyword":"properties","params":{"error":"missing","missingProperty":"weightClass"},"message":"must have property 'weightClass'"}]}
Check if there is a parameter missing from your input JSON. In the example above the missing parameter is weightClass
Check that the "Content-Type" is specified correctly in the header of your API request