# Error 400 - when I update endpoints to lastest version

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-400-when-i-update-endpoints-to-lastest-version%2F151229%3E%5C
**Category:** Inference Endpoints on the Hub\
**Created:** [April 19, 2025, 3:50am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-400-when-i-update-endpoints-to-lastest-version%2F151229 "2025-04-19T03:50:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![inipod-khiempham](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@inipod-khiempham](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finipod-khiempham)%5C
**Post date:** [April 19, 2025, 3:50am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-400-when-i-update-endpoints-to-lastest-version%2F151229%2F1 "2025-04-19T03:50:41Z")

</div>

Hi everyone,

I have updated my source code in HF models hub. Then I tried to update endpoints with latest version but i have received Error 400 with Bad Request.

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/f/c/fc0d30a0fa51ae40d83bc727536ef91f18c5ab45.png)

But I still can create new endpoints with latest version, only when I update code in HF Models, I can’t update endpoints.

In last 2 week ago, i didn’t receive this error. Is anyone else experiencing similar behavior? Any information or confirmation would be greatly appreciated!

Thanks !!

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [April 19, 2025, 7:46am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-400-when-i-update-endpoints-to-lastest-version%2F151229%2F2 "2025-04-19T07:46:46Z")

</div>

Maybe the TGI version has changed… @meganariley  
I can’t find the error even when I search for it.

> [@Endpoint Deployment Failed](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fendpoint-deployment-failed%2F129921)%3A
>
> Exit code: 1. Reason: s/selective\_scan\_interface.py:231: FutureWarning: `torch.cuda.amp.custom_bwd(args...)` is deprecated. Please use `torch.amp.custom_bwd(args..., device_type='cuda')` instead.\n @custom\_bwd\n/opt/conda/lib/python3.11/site-packages/mamba\_ssm/ops/triton/layernorm.py:507: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.\n @custom\_fwd\n/opt/conda/lib/python3.11/site-packages/mamba\_ssm/ops/…

---

<div class="post-metadata">

**Author:** ![FaridArbai](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/faridarbai/32/45892_2.png) [@FaridArbai](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FFaridArbai)%5C
**Post date:** [April 19, 2025, 4:15pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-400-when-i-update-endpoints-to-lastest-version%2F151229%2F3 "2025-04-19T16:15:38Z")

</div>

Bruh I’m getting the same error and it’s so frustrating - I can’t update my endpoints without this popping up so I have to go and create a new endpoint. Someone drop a fix asap!!!

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [April 20, 2025, 2:00am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-400-when-i-update-endpoints-to-lastest-version%2F151229%2F4 "2025-04-20T02:00:48Z")

</div>

@meganariley Paid service issue.
