Status codes: errors and warnings

Minitab Model Ops provides results from successful prediction and stability requests or provides information on relevant errors and warnings.

Prediction results

A successful prediction request returns predictions (and probabilities for classification models), as well as the status code, and the observation identifier and timestamp, if provided. If a timestamp is not provided, the results include the server time in UTC of the prediction request.
Binary
The results include the predicted class value and both the event and nonevent probabilities.

Such as: "predictions":[1],"probabilities":{"0":[0.29806847464300],"1":[0.70193152535699]}

Multinomial
The results include the predicted class value and the probabilities for each class.

Such as: "predictions":[4],"probabilities":{"1":[0],"2":[0],"3":[0.1666667],"4":[0.8333333],"5":[0],"6":[0]}

Continuous
The results include the predicted response.

Such as: "predictions":[50.271428571428565]

Stability results

A successful stability request returns the actual response and the observation identifier, as well as the status code, and the date from a timestamp, if one exists. If a timestamp is not provided, the results include the server time in UTC of the prediction request.

Errors

The following table includes the most commonly used error codes with Minitab Model Ops prediction and stability requests.
Note

ERRORS apply to the entire request. If an error is received, no results are logged.

responseCode Request Type Details
ERROR_DATA_TYPE Both One or more entries has an incorrect data type. Prediction results cannot be logged.

One or more entries has an incorrect data type. Stability results cannot be logged.

ERROR_INVALID_APIKEY Both Your API key is incorrect. Verify that you have entered it correctly.

If the key has expired or has been revoked, you must create a new key to access the deployment.

ERROR_INVALID_OBS_ID Prediction One or more observation ID values are invalid. Results cannot be logged.
ERROR_INVALID_PAYLOAD Prediction The prediction request has no valid columns. Prediction results cannot be logged.
ERROR_MISSING_COLUMNS Stability One or more variable names are incorrect in your request. Stability results cannot be logged.
ERROR_MISSING_OBS_ID Both One or more observation ID values are missing. Prediction results cannot be logged because Observation IDs are set as required in the Settings tab.

One or more observation ID values are missing. Stability results cannot be logged.

ERROR_UNEQUAL_ROWS Both All columns in your request must have the same number of rows. Results cannot be logged.

Warnings

The following table includes the most commonly used warning codes with Minitab Model Ops prediction and stability requests.
Note

WARNINGS apply to individual rows of the request. If a warning is received, partial results may be logged.

responseCode Request Type Details
WARNING_OBS_ID Both Observation ID value is missing. Prediction results for this row are logged, but are not available for stability reporting.

Observation ID value does not match a logged observation ID value within the last six months. Stability results for this row cannot be logged.

WARNING_SCORE_LIMIT Prediction You have exceeded the daily maximum number of logged prediction results for this model. Minitab Model Ops has a limit of 1440 data rows per model, per day.

Depending on when the daily maximum was reached, some prediction results may not have been logged. For more information, go to the next section, "Daily storage utilization".

WARNING_STABILITY_LIMIT Stability You have exceeded the daily maximum number of logged stability results for this model. Minitab Model Ops has a limit of 2880 data rows per model, per day.

Depending on when the daily maximum was reached, some stability results may not have been logged. For more information, go to the next section, "Daily storage utilization".

WARNING_TIME_RANGE Prediction Timestamp range is not valid. Prediction results for this row cannot be logged. For more information on date/time ranges, go to Date/time data requirements.
WARNING_TIME_VALUE Prediction Timestamp value is not valid. Prediction results for this row cannot be logged. For more information on date/time formats, go to Date/time data requirements.
WARNING_UNKNOWN_REPONSE Stability Actual response is missing or contains a level that does not exist in the model. Stability results for this row cannot be logged.

Daily storage utilization

Minitab Model Ops has a limit of 1440 data rows per deployment, per day for scoring models. Minitab Model Ops also has a limit of 2880 data rows per deployment, per day for stability data.

For example, suppose on June 3 you send in the following number of data requests. Because you are under the maximum daily allotment, you have capacity to send in more data for the following dates.
Time stamp # of prediction requests Prediction capacity # of stability requests Stability capacity
June 1 1080 25% remaining (1080/1440) 2592 10% remaining (2592/2880)
June 2 720 50% remaining (720/1440) 2100 25% remaining (2100/2800)
June 3 0 100% remaining (0/1440) 0 100% remaining (0/2800)