Error "An error occurred (ModelError) when calling the InvokeEndpoint operation" #4747
Unanswered
sergioCancanEs
asked this question in
Q&A
Replies: 1 comment
-
@sergioCancanEs Make sure your deployed endpoint is healthy as SageMaker checks for health first and then make sure your lambda function has sagemaker: invoke endpoint permission added to the IAM role attached to it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Error 500 when consuming SageMaker endpoint deployed with MLflow
Description
Hello everyone,
I successfully replicated the notebook "sm-mlflow_deployment.ipynb" in my JupyterLab Space. However, when I try to consume the endpoint from another notebook or with the SageMaker endpoint test inference tool, I consistently receive a 500 error related to the model.
Steps to Reproduce
Error
Questions
How can I consume an endpoint deployed from SageMaker with MLflow in another notebook or service (e.g., Lambda)?
What could be causing this 500 error, and how can I troubleshoot it?
Beta Was this translation helpful? Give feedback.
All reactions