On testing the Amazon Sagemaker model integration in v2.9.0, I receive the following error when calling the _predict api on the deployed model using sagemaker connector
"caused_by": {
"type": "privileged_action_exception",
"reason": "privileged_action_exception: null",
"caused_by": {
"type": "i_o_exception",
"reason": "runtime.sagemaker.us-east-1.amazonaws.com: Temporary failure in name resolution"
}
}
Can you paste your request body here by removing the credential values ?
From your connector url https://runtime.sagemaker.us-east-1.amazonaws.com/endpoints/{endpoint_name}/invocations, you want to refer to endpoint_name defined in parameters part ? If yes, you should use https://runtime.sagemaker.us-east-1.amazonaws.com/endpoints/${parameters.endpoint_name}/invocations
Can you share a sample request body for your Sagemaker model? You can use PostMan or Insomnia to test your Sagemaker endpoint first. This one may not suitable for your model: "[\"${parameters.inputs}\"]"