# Gradio api endpoint issue

**URL:** <https://discuss.huggingface.co/t/gradio-api-endpoint-issue/90352>\
**Category:** Spaces\
**Created:** [June 4, 2024, 9:47pm UTC](https://discuss.huggingface.co/t/gradio-api-endpoint-issue/90352 "2024-06-04T21:47:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DemoLou](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@DemoLou](https://discuss.huggingface.co/u/DemoLou)\
**Post date:** [June 4, 2024, 9:47pm UTC](https://discuss.huggingface.co/t/gradio-api-endpoint-issue/90352/1 "2024-06-04T21:47:57Z")

</div>

Hello  
I am having issue with loading the /inpaint endpoint api of this space ([HD-Painter - a Hugging Face Space by PAIR](https://huggingface.co/spaces/PAIR/HD-Painter)).

Here I made a codesandbox to illustrate

[https://codesandbox.io/p/sandbox/nice-mayer-n5c7fp](https://codesandbox.io/p/sandbox/nice-mayer-n5c7fp)?

I am getting this error

 ![Screenshot 2024-06-04 174235](https://us1.discourse-cdn.com/hellohellohello/original/3X/6/9/69ed391e567b7f3f1f38299c28b819cefb83e81d.png)
