Deployed model giving content type error

0

I have deployed a pre trained hugging face model using jumpstart and it gives this error when i am hitting it in test interference. Error invoking endpoint: Received client error (400) from primary with message "{ "code": 400, "type": "InternalServerException", "message": "{"error": "unsupported content type application/json"}" }

1개 답변
0

While I am not sure of the exact model you are using, I suggest taking a look at the example notebook of the respective JumpStart model and use the same input format and content type the example uses when making prediction (.predict() / InvokeEndpoint ).

AWS
Marc
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠