- Newest
- Most votes
- Most comments
Hello Hope you are doing well.
From the error code that you have shared, it seems that you created endpoint using Sagemaker inference component feature. If that was the case, please include the InferenceComponentName
in the invoke_endpoint
call to invoke the endpoint.
Hello,
Thank you for confirming that you did not have inference component associated. Can you please share the steps you followed to create the endpoint? Please mask the information wherever applicable before sharing.
And regarding Sagemaker endpoint invocation using API gateway, you might refer below example blog.
have been following the same but i don't want to use vtl I want one direct connection so I have created an direct post connection with sagemaker
Hello Lalit,
Thank you for providing more details. I see there are 2 issues mentioned in the post.
In order to understand where the issue lies, I would like you to perform below.
- Try invoking the endpoint first to see the endpoint is responding with out issues. you can use AWS CLI. or boto3.
If you are able to invoke the endpoint using CLI/Boto3 then please cross check your API gateway configuration and parameter mapping. Here is the API definition for invoking Sagemaker endpoint.
Relevant content
- asked 4 months ago
- Why doesn't my SageMaker Studio Classic notebook in VPC only mode connect with my KernelGateway app?AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
Thanks lavaraja
i have not created any inference component I have only created one endpoint