Help Center/ ModelArts/ Troubleshooting/ Inference Deployment/ Service Prediction/ Error Occurred When an API Is Called for Deploying a Model Created Using a Custom Image
Updated on 2024-06-11 GMT+08:00

Error Occurred When an API Is Called for Deploying a Model Created Using a Custom Image

If an error occurs when an API is called for service deployment, check the following items:

  1. Check whether POST is used in the configuration file for the model API.
  2. Check whether the URL in the configuration file contains a customized path, for example, /predictions/poetry (the default path is /).
  3. Check whether the called path in the body of the API request contains a customized path, for example, {API address}/predictions/poetry.