Internal server error / bool not iterable

Am i the only one getting “internal sever error” pasted on my screen after updating spaces?

Seems to have been working fine 12 hours ago (despite significant rise in compile time)

I believe i can edit and update specific previous existing spaces of mine
Yet cannot in others (which do work fine until i attempt to modify and update them)

Is anyone able to confirm current internal server error ing, before i start mangling my spaces in unnecessary edits

Attempting to duplicate working spaces results in

Internal server error

Then Logs show

Exception in ASGI application
If “const” in schema:
Type error, argument of type “bool” is not itterable

Somehow, i managed to duplicate one of my working spaces
Running a debug report showed

Api.huggingface.co/hf-inference/models/user/model-name 404

But see, hf-inference isn’t the correct address

Huggingface.co/api/models is, right?

1 Like

Exception in ASGI application
If “const” in schema:
Type error, argument of type “bool” is not itterable

If the cause is something else, we should investigate again, but since the message is very similar to this error, it may be possible to avoid it by specifying the version of pydantic.

me too, I tried to debug my SRT-transcribe ptoject for hours.
It’s said there’s a wrong attribute “proxies” used in my projects.
However, I searched every code line but found nothing named “proxies”.
After I paid to be a pro role, and opne the DEV mode.
I saw “503” (internal server error). man… that’s a waste of time and money..

1 Like

i think,
the problem was that i was using a modified gr_interface_load
instead of gr.interface.load
i was able to get the spaces running after changing that but still problems just cascaded from there

As usual

a MONTH and a HALF of this *****
huggingface BY FAR, has been THE WORST online experience of my entire life
(seriously, i cannot think of a single experience, site this bad
from the lack of support (minus john, he’s everywhere answering it seems almost everyone every hour. i really think you deserve the best for all i see you do here)
to the new unannounced DAILY problems
to the amount of pro users ive seen questioning to complaining about the service they’ve paid for
to the bold face lies huggingface has made about democratization
to the bold face lies huggingface has made about addressing problems
to the removal of serverless functions as far as i can see
to the massing of untimely notices of inference calls

time? yeah. and right when i think ive corrected the problems i encounter
im tossed back to square one, over and over and over

i dont think i can find the right words to express excactly how ANGRY and UPSET i am
im trying REALLY hard at this point to remain calm and civil
that i no longer think its healthy for my heart to continue trying to FIX ANYTHING HERE
I should really just blame myself right? for being so foolish to try and try again
for wasting all this time waiting for indention errors to post in my logs
20 minutes for a single indent . please. python is one thing, but servers that cant save themselves from locking up, that says alot

and after all this, now they think they’ve earned the privilege to throw pay walls at us
for what?

i did get the inferencing to work, now, at the peak of my exhaustion
just to wait around about 3 minutes for that to load
experienced even slower response times for it too (5 times slower at least)
smh

im sorry guys, ive never had a list of complaints this long ive made public
i know, my level of ignorance very clearly, and because of it, i have always kept my mouth shut and my nose to the grind stone, doing what i can to improve myself other than complain

but here, im seeing its pointless
and here, and now, seeing this paywall pop up
i have to stand up and say something

  1. im sorry to subject you to this, thank you for your responses. i just imagine someone from the staff might could read this, but, i know they won’t. just us. i guess, im hoping really that john will tell me, “no charlie, you’re mistakened, try ______ instead” and make all my problems go away (because that, me just being ignorant would make much more sense than what i’m seeing)

  2. a few weeks ago, i did look at these prices and i did think, HF, if offering what they do, could deserve some money in their pocket, but yeah
    now, after all this wasted time
    all this wasted code
    all this for nothing
    thats all ive got left to give

but yeah,
switching from gr_interface_load
to gr.interface.load
fixed the internal server error, enough for the space to display,
but from there, im too upset to recall where i hit a wall going down its new chain of hurdles
maybe next week
i just cant even look at this site anymore right now
thank you and my apologies

1 Like

I feel you. I spent three full days trying to deploy my project on HF.
They told me to remove the proxy parameter — the one I never even used.
I checked thousands of lines, rebuilt the Space countless times, nothing worked.

In the end, it was a dependency version conflict. Removing all version numbers fixed it.
I thought I won… until the build broke again.
Why? HF was missing wheel. Yes — wheel, the most basic pip package.
Turned out: 503 error. Internal update. No notice.

Then I found out the real issue: pysrt was broken.

So yeah, you’re not alone. HF nearly broke me too.
I just wanted to launch a demo, not go on a spiritual debugging journey.

Still recovering.
Thanks for sharing — made me feel a little less crazy. :smiley:

1 Like

For example, I think that some of the HF staff, such as megan and lhonestq, are actively providing support on the forum, but since there aren’t many people in charge of support about Spaces or so, well, even though I’m not a staff member, I think it’s better than not having anyone…

I tried to give that space first aid for the time being.

Had this same problem in my Lora training colab notebook. Just use gradio 5.23.2 via
!pip install gradio==5.23.2

1 Like

Try

pydantic==2.10.6

in requirements.txt.

Your English is not bad.

I think pydantic is not the problem

I also think that this is not a root cause.

As you say, for example, even if you duplicate an old Gradio 4 space, the GUI is Gradio 4, but it seems that Gradio 5 or the latest version of FastAPI? is used internally, and the same crash occurs.
I have actually successfully avoided this with pydantic==2.10.6

However, this is only a forced workaround for one part of the problem that is currently being displayed, and it is probably necessary to wait for a fix to be released for Gradio or FastAPI, or for the backend of HF, or for the server settings of HF.

Adam (lunarflu) announced a few days ago that the Hugging Face team is currently investigating this 500 error.

Incidentally, the same phenomenon has been reported for Google’s API libraries, not just Gradio.