Discuss Scratch

Scodex
Scratcher
20 posts

My profile keeps giving 500 error

My browser / operating system: Windows 10, ChromiumEdge 155.0.0.0, No Flash version detected
Hi there. When I was at my profile, I pressed my profile picture there. When I did that, the page randomly went to a 500 error.

The page is still giving the 500 error. I've already switched devices and used different browsers, but it still gives a 500 error.
Anyone also getting the error when viewing my profile?

Pat and Mat is on the Mat of Matt's Matress in Matt's home in Massachusetts.
Heathercat123
Scratch Team
100+ posts

My profile keeps giving 500 error

Yup! Weirdly enough, this displays a standard 500 error even for admins, which are supposed to get one with exception details. I have no idea how to debug this.

Developer of much of the backend code for this website (the Scratch section, not the rest!) along with contributions from @chipmunkmc.
Heathercat123
Scratch Team
100+ posts

My profile keeps giving 500 error

I manually copied some of your account's information into my local server and you have a featured label ID of 5, which is invalid. I'll reset it to 0 and add more checks to ensure that this never happens again.

Developer of much of the backend code for this website (the Scratch section, not the rest!) along with contributions from @chipmunkmc.
Scodex
Scratcher
20 posts

My profile keeps giving 500 error

Heathercat123 wrote:

I manually copied some of your account's information into my local server and you have a featured label ID of 5, which is invalid. I'll reset it to 0 and add more checks to ensure that this never happens again.

Ok, thanks for fixing it!
It might also be because i managed to change my location to Czechoslovakia using some inspect tricks, but I don't think that's the case as it only started when I pressed the profile picture.

Pat and Mat is on the Mat of Matt's Matress in Matt's home in Massachusetts.
Heathercat123
Scratch Team
100+ posts

My profile keeps giving 500 error

Scodex wrote:

Heathercat123 wrote:

I manually copied some of your account's information into my local server and you have a featured label ID of 5, which is invalid. I'll reset it to 0 and add more checks to ensure that this never happens again.

Ok, thanks for fixing it!
It might also be because i managed to change my location to Czechoslovakia using some inspect tricks, but I don't think that's the case as it only started when I pressed the profile picture.

Setting your location shouldn't affect the featured project label as that it not a part of the Account Settings page. Did you screw around with inspect element on your profile? If not, then I honestly don't know how that happened.

Developer of much of the backend code for this website (the Scratch section, not the rest!) along with contributions from @chipmunkmc.
Scodex
Scratcher
20 posts

My profile keeps giving 500 error

Heathercat123 wrote:


Setting your location shouldn't affect the featured project label as that it not a part of the Account Settings page. Did you screw around with inspect element on your profile? If not, then I honestly don't know how that happened.

I used inspect element on the account settings page at the location part to get the location. Still, it is probably some bug where the profile becomes corrupted somehow when pressing the profile picture on your profile.

Sorry if I shouldn't have done that.

Last edited by Scodex (Oct. 12, 2026 16:47:58)


Pat and Mat is on the Mat of Matt's Matress in Matt's home in Massachusetts.
Heathercat123
Scratch Team
100+ posts

My profile keeps giving 500 error

Scodex wrote:

Heathercat123 wrote:


Setting your location shouldn't affect the featured project label as that it not a part of the Account Settings page. Did you screw around with inspect element on your profile? If not, then I honestly don't know how that happened.

I used inspect element on the account settings page at the location part to get the location. Still, it is probably some bug where the profile becomes corrupted somehow when pressing the profile picture on your profile.

Sorry if I shouldn't have done that.

Don't be sorry, you are allowed to (ab)use inspect element as much as you want (in fact, Chipmunk, the owner of this website, literally reverted my fix against the custom Country name trick in her fork).

But the fact that you pressed your profile picture *on your profile* is quite interesting since, if you click on the Change button, that should bring up the profile picture change form, which uses the some API as setting your featured project. However, you did not set your PFP and setting PFPs disables setting the featured project label. So I think you broke the matrix.

Developer of much of the backend code for this website (the Scratch section, not the rest!) along with contributions from @chipmunkmc.
Scodex
Scratcher
20 posts

My profile keeps giving 500 error

Heathercat123 wrote:

So I think you broke the matrix.

Okay, I've just made a new account named ExampleUser, and I'm going to test if it is because of the profile.

Edit: Huh? There, it didn't happen.

Last edited by Scodex (Oct. 12, 2026 16:58:47)


Pat and Mat is on the Mat of Matt's Matress in Matt's home in Massachusetts.
Heathercat123
Scratch Team
100+ posts

My profile keeps giving 500 error

Scodex wrote:

Heathercat123 wrote:

So I think you broke the matrix.

Okay, I've just made a new account named ExampleUser, and I'm going to test if it is because of the profile.

Edit: Huh? There, it didn't happen.

Huh, interesting. I think I'll close this now as any remaining problem is probably an issue with Scratch's frontend code and fixing those is currently out of scope. If you want this to be re-opened, either tell me on my profile or report any of the posts here!

Developer of much of the backend code for this website (the Scratch section, not the rest!) along with contributions from @chipmunkmc.

Powered by DjangoBB