Skip to main content
For HTTP status code and error message meanings (such as what a 502 indicates), see Inference errors.

Model I/O issues

Error: JSONDecodeError

This error means you’re attempting to pass a model input that is not JSON-serializable. For example, you might have left out the double quotes required for a valid string:

Model version issues

Error: No OracleVersion matches the given query

Make sure that the model ID or deployment ID you’re passing is correct and that the associated model has not been deleted. Additionally, make sure you’re using the correct endpoint:

Authentication issues

Error: Service provider not found

This error means your ~/.trussrc is incomplete or incorrect. It should be formatted as follows:

Error: You have to log in to perform the request

This error occurs on truss predict when the API key in ~/.trussrc for a given host is missing or incorrect. To fix it, update your API key in the ~/.trussrc file.

Error: Please check the API key you provided

This error occurs when using curl or similar to call the model through its API endpoint when the API key passed in the request header is not valid. Make sure you’re using a valid API key then try again.