When trying to create an inference endpoint using Hugging Face Inference Endpoints service, if the HF inference endpoint is paused, the call fails with this message BadRequestError: BadRequestError(400, 'status_exception', 'Received an unsuccessful status code for request from inference entity id [my_hf_endpoint_object] status [400]. Error message: [Bad Request: Invalid state]').
This is technically correct, but might be confusing. The solution is to Resume the endpoint in hugging face.
Steps to Reproduce
Attempt to put an endpoint which is paused in huggingface.
Elasticsearch Version
serverless
Installed Plugins
No response
Java Version
bundled
OS Version
N/A
Problem Description
When trying to create an inference endpoint using Hugging Face Inference Endpoints service, if the HF inference endpoint is paused, the call fails with this message
BadRequestError: BadRequestError(400, 'status_exception', 'Received an unsuccessful status code for request from inference entity id [my_hf_endpoint_object] status [400]. Error message: [Bad Request: Invalid state]')
.This is technically correct, but might be confusing. The solution is to Resume the endpoint in hugging face.
Steps to Reproduce
Attempt to put an endpoint which is paused in huggingface.
Logs (if relevant)
No response