Failed to Load error?

So, I have these part in my game where there's a gate (SF_Gate1, #6, the green thing) and a guard. The guard asks for a number input and you enter the 6 digit code (found previously). If you input the right code, it activates a Move Route (via switch) for the nearby gate (turn left, wait, turn right, wait, self switch A on, next page is blank), thus opening the pathway to the next area.

Problem is, every time I enter the code, the gate opens and then 2-3 seconds later, I get this error code:

Failed to load: img/characters/!%24SF_Gate1.png

And then this one:

Uncaught TypeError: undefined is not a function

Any ideas why this would be happening? Thanks!
Nevermind. Figured it out. It was looking for an old graphic, which is weird as I'd replaced it... I ended up having to make a new event and it worked fine.
you somehow renamed the file either in the editor, or in windows, or both.

Your file is NOT named !%24SF_Gate1.png
The %24 is a placeholder for a sign that is illegal to use under networking rules, and that is why the game can't load the sprite. Check if the file is named correctly, then correct the event

Original thread: https://forums.rpgmakerweb.com/threads/failed-to-load-error.91084/