{
“errorMessage”: “An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (400) from model with message “{\n “code”: 400,\n “type”: “InternalServerException”,\n “message”: “\u0027numpy.ndarray\u0027 object has no attribute \u0027pop\u0027”\n}\n”. See https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#logEventViewer:group=/aws/sagemaker/Endpoints/huggingface-pytorch-inference-2021-09-27-12-40-12-385 in account 215401044306 for more information.”,
“errorType”: “ModelError”,
“stackTrace”: [
" File “/var/task/lambda_function.py”, line 20, in lambda_handler\n Body=payload)\n",
" File “/var/runtime/botocore/client.py”, line 386, in _api_call\n return self._make_api_call(operation_name, kwargs)\n",
" File “/var/runtime/botocore/client.py”, line 705, in _make_api_call\n raise error_class(parsed_response, operation_name)\n"
]
}
I am getting this error. Also can i get summary as output for text paragraphs as input after invoking my endpoint in aws lambda function?