Best SpongeBob SquarePants Episodes


I love SpongeBob! Vote for one of those! Don't agree with the list? Vote for an existing item you think should be ranked higher or if you are a logged in, add a new item for others to vote on or create your own version of this list.

The Top Ten

Band Geeks
Band Geeks, Secret Box, Idiot Box, Best Day ever, and the camping episode should be at the top.
This deserves to be number one. I'm watching "Pizza Delivery" right as I'm typing this. Haha I love Spongebob and Squidward together!
it was funny when there were singing
More comments about Band Geeks

2Chocolate with Nuts
Best episode ever even better than number1! Ps who the heck put the "best" day ever on here I hate the music
Funniest episode of spongebob I have ever seen! Though band geeks is great too especially that song at the end... it's amazing and thats probably why its number one because of the song
My favorite part of this episode is when the chocolate fish exclaims CHOCOLATE! And in the end he asks if he could buy all of their chocolate and Patrick is so surprised he dumps all the chocolate bars out of his pants and even poops out a kisses chocolate. This is the part where I crack up. There is one other episode not on the list that I think is hilarious, and it is Krusty Love, which should replace Best Day Ever. In the end of this episode, Spongebob is so mad he curses at his own boss Mr. Krabs in front of Mrs. Puff when she looks at a dictionary and her cheeks turn red and Mr. Krabs's mouth grows wide open.
More comments about Chocolate with Nuts

3Pizza Delivery
Squid at the end, showing genuine concern for Spongebob "Sponge?... Sponge? "
"who cares about the costumer? "I do". "well I don't" (hurricane stops) 'gasp' Sqiudward. Best line ever next to My Names Not. RICK. How is this not number one? It has more memorable moments than any of the other old episodes. This episode has a classic plot just like camping episode or band geeks. The part where Spongebob runs over Squidward with the boulder was hilarious, and the song is simply priceless. This song is loved by all Spongebob fans, and so is this episode. If your a Spongebob fan that instantly means you've seen and love this episode. My favorite episode of Spongebob will always be this. It should be number 1
This episode is SO funny! I love the part when Spongebob is explaining to Squidward about a movie that he saw about pioneers and when he tries to convince Squidward to eat the coral instead of the the tasty pizza!
More comments about Pizza Delivery

4The Camping Episode
Best Episode Ever. "WRITE THAT DOWN, WRITE THAT DOWN! " (Patrick draws Tic-Tac-Toe Symbols). Perhaps my favorite line ever.
This should be number one. The Marshmallow shot through Squidwards clarinet and protruded at the back of his head gets me every time. Chew. Chew. Chew. Awesome song to boot.
Most hilarious episode. I'm 25 years old, and every time I see this episode, I totally bust out laughing every time Squidward gets repeatedly mauled by the sea bear! lol

Squidward (after being mauled for the 100th time): What did I do that time?
Spongebob: I don't know... I guess he just doesn't like you!

More comments about The Camping Episode

2 best lines:

"Where's the leak, ma'am? " and
I like the part where patrick says finland and also the part where squidword gets the pencil drewing hair.
This episode is REALLY funny. We'r watching it right now
More comments about Frankendoodle

6Graveyard Shift
Number 14 the night shift, is the graveyard shift in a different way. So you may have mixed it up. Wicth makes this list have 60 episodes. Even though its mixed up, it is a great episode and you can check out the top 100 episodes. My top ten are

10, suds

9, Graveyard shift

8, rock Bottem

7, naughty nautical neighbors

6, clams

5, procrastination

4, survival of the idiots

3, pressure

2, jellyfishing

1, RIPPED PANTS( including the song that makes me feel better
This is my favorite episode. This episode is so funny, and the plot is so amazing. SpongeBob SquarePants use to be such a good show, but there was an obvious decrease in the shows quality after the SpongeBob SquarePants Movie. I can't believe how bad the most current episodes are. The episodes clearly don't have the same great storylines that made the show so popular more than a decade ago.
AND THE WALLS WILL OOZE GREEN SLIME! Oh wait, they always do that.
More comments about Graveyard Shift

the only way out is through the... PERFUME DEPTARTMENT! Great Episode. not number 1 but still a classic
This ship belongs to the Red Barron!

I love that episode. The best part is "Move on, move on, move on! " And the line "I got 3 biscuits, then I ate one so I now I got 5" (don't know the actual words, only know it in German) and the LALILALILAILIALIA wu LALIALIALIALIA... Line they are so epic could watch that episode 20 times in a row and never get bored
More comments about Shanghaied

I thought this one was hilarious, really cool with a lot of neat scenery. Squidward's even funnier than SpongeBob here!
Best episode ever and first one I've seen. I grew up with spongebob and this has always been my favorite.


Squidward: Future! Future! Future! FUTURE! This was one of the lines ever. This episode reminds me how much I miss the old Spongebob. :'(
More comments about SB-129

9Idiot Box
It filled my life with imaginaatioon. (Rainbow)
I'm watching thins episode as I'm typing "isn't there anything other than boxing".
Even to this day, I have a giant box I play in almost every day. I'm 18 now, and it's mostly used for privacy with my girlfriend, but I do exercise my imagination with it when I can.
More comments about Idiot Box

10Krusty Krab Training Video
This episode flat-out lacks a fourth wall, which is something I really love. Also, People Order Our Patties is one of the funniest moments on the show.
The first episode I ever watched, and the real best in my opinion (Sorry Pizza Delivery, Band Geeks, and Wishing You Well)


More comments about Krusty Krab Training Video

The Contenders

11Sailor Mouth
Proof that even SpongeBob has a dirty mouth. And that scene with Mr. Krabs cursing is hilarioius!


This episode cracks me up. My favorite part of it was when they first started swearing in the first place.
Can't agree more this episode when I first saw it I nearly jizzed my pants in laughter at how hilarious it was
More comments about Sailor Mouth

12Help Wanted
This episode made this show
Spongebob gets hired duh this is a classic
This episode is easily top 3
More comments about Help Wanted

13Something Smells
Once There was an ugly barnicle he was so ugly that evreyone died. The End.
Best Line Ever!
Once there was an ugly barnacle he was so ugly that everyone died the end. That didn't help at all! Laugh out loud
I cracked up when Spongbob was like "I'm Ugly and I'm Proud"
More comments about Something Smells

14Christmas Who?
Santa is comin tonight tonight Santa is coming to night.
Hard to believe that this episode is ranked so low. It should be in the top ten.

15Ripped Pants
This is by far the best episode, that inspongeaic episode was the worst episode EVER! In fact, none of it is funny, thomas is twenty times better and ed edd n eddy is millions times better. And one thing good about this episode is the song, I loved it, but the new episodes were not the superworst
Absolute Genius. How is this not #1? The ripped pants song is MY CHILDHOOD.
When big Larry came round just to put him down,
Spongebob turned into a clown,
And no girl ever wants to dance,
With the fool who went and,
Ripped his pants

More comments about Ripped Pants

16Rock Bottom
I LOVE this episode of Spongebob it's definitely my favorite Patrick left Spongebob by himself downtown laugh out loud and his expression when he saw they were leaving Bikini Bottom was priceless!
This isn't your everyday darkness, this is advanced darkness.
Is this the one with the amazing bus stop-candybar-situation? Hilarious. And the accident they speak, and the symbols at the toilet... It is a BLAST every time and ressembles all the genius that relies in the simple stupid world of spongebob
More comments about Rock Bottom

17Survival of the Idiots
Who are you callin' Pinhead for voting for this? Nobody, because it's so dang funny! There are a couple of funny episodes in Season 4, but the rest of 4 and up are all terrifyingly horrible. Not funny at all.


In my opinion my favorite this is my favorite episode. Like Jammer196 said, Who you calling Pinehead?
The funny part of it is When Sandy says Who are you calling Pinhead and then chase Spongebob around the dome
Out of Wishing You Well, Ripped Pants, The Camping Epsiode, Patty Hype, I Think Survial of the Idiots is the BEST spongebob EVER

18The Fry Cook Games
Fry Cook Gamesshould be number 1

19Dying for Pie
What the hell is wrong with you all? This episode's my favorite, and it's sad seeing it so low.
My personal favorite! "The boy cries you a sweater of tears... And you kill'em". Too many one liners, just watch it.
My favorite all time episode. Hillarious, but also very deep and emotional. That goofy sponge does open heart surgery for fun...haha
More comments about Dying for Pie

20Patrick Smartpants
"Knowledge cannot replace friendship, I prefer to be an idiot! "
This episodes really shows also how mean patrick can be. I mean I know he got a new brain and everything but he really hurts SpongeBobs feelings, but it teaches knowledge can't replace friendship. I still don't like this episode though.
This is one of my favorite SpongeBob episodes of all.
More comments about Patrick Smartpants

21Snowball Effect
This is my favorite episode! This should defiantly get top top ten because it is the best ever episode I think. But the funniest of it makes it the top ten. It is an extraordinary episode because of the jokes and I hate the new ones. This should defiantly make number one!
I love this episode, it makes me laugh all the time. I never see them play it anymore though

22Opposite Day
I really like this episode
1st reason: Squidward is in it.
2nd reason: the part that the buyer asked if there was another Squidward and Gary meowed is hilarious.
3rd reason: the end (because that is exactly what I would do if someone ruin a great chance to have my peace and quiet).
Squidward has always been a loser, but this is the best proof. This should be #1 with Idiot Box. Funniest ever:-)
This episode is classic! All four Squidwards were hilarious! Makes the newer episodes look like a whole different series.
"It's not enough to look like Squidward, you have to ACT like him, too. I'm Squidward, I'm Squidward, Squidward, Squidward."
More comments about Opposite Day

23Club Spongebob
I love it! Haha never gets old, a classic! Should be in top ten at least, I mean come on! Lol! The magic conch
I love when all the food falls out of the sky


I love this one! We used to watch spongebob at my grandmas all the time. Now I still watch it but not that much.


More comments about Club Spongebob

24No Weenies Allowed
HAHA weenies... This is a funny episode. I believe it's the one where Spongebob wants to get into the Salty Spitoon, am I not correct? Spongebob: "I'll have you know that I stubbed my toe last week, while watering my spice garden, and I only cried for twenty minutes. " haha what a baby! GOTTA LOVE THE SPONGE!
Hey Writers I got a message for you and please if your reading this make if happen create an episode where Spongebob and Patrick try to get into a nightclub but they can't but when Plankton plans to destroy it after Mr. Krabs hid the formula in there, Spongebob and Patrick must enter and stop him while going undercover but hilarious things happen on the way in the nightclub and it should be called The Undercover Clubbers. Sandy should be in it where she helps them and a fish parody of 1 Directon should be in it and Pearl and her friends should be there and squidward. This episode rules and this should be a homage except without the muscular wrestler dudes who agrees with me?
You can't hide what's inside!
You callin' me a liar? I ain't callin ya for dinner.
Best quotes of the episode.
Seriously, this should be at least top 20.
More comments about No Weenies Allowed

25Krusty Towers
What's this episode doing at forty three? I love the part when Squidward makes Spongebob and Mr. Krabs redo his hotel room. It's hard to say, but I think this episode should at least make the top ten episodes.
I can't stop laughing during that episode, it is worth much more than 45. Patrick is so funny when he asks for cheese, he tips, or simply question "this is a hotel? ".
People say that the show has declined in quality since the movie. And it's generally true. One coarse meal is the worst Spongebob episode ever made. But this is one of the post movie episodes that's just as good, if not better, than the old episodes. I like the hotel motto and the employee elevator. Especially because Patrick only wanted rocks brought up to his room.
More comments about Krusty Towers

26Big Pink Loser
Remember the famous line, "no, this is patrick! ".. Yeah,. This is their best episode with patrick's idiocracy
This episode is not my favourite but it has the funniest moment: Phone: "is this Krusty Krab? " Patrick: "no, this is Patrick" phone: "is this Krusty Krab? " Patrick: "no, this is Patrick" phone: "is this Krusty Krab? " Patrick: "no, THIS IS PATRICK! "
Hey pal... You just blow in from stupid town?
More comments about Big Pink Loser

This was the funniest episode of Spongebob. I could not stop laughing. Mr Krabs, Spongebob and Squidward go to on a fishing trip and Mr Krabs goes insane.


How can you not absolutely love the song? Just saying.
Twenty-seventh?! This is one of the best episodes ever should at least be in the top ten
Uranium bombs is the best song

29I Had An Accident
Sandy: "Spongebob! Land on your bottom! It'll cushion the impact of the fall! "
Spongebob: "(Takes pants off) Like this? "
Patrick: "No your other bottom! "
Sandy: "Don't you have to have to be stupid somewhere else"
Patrick: "Not until 4:00"
This is ace should be number 1

Patrick: do it again I was'ent looking
Haha! Even my friend loves this
This episode would've been number 1 on my list. so much funny stuff in it
More comments about I Had An Accident

30Mermaid Man and Barnacle Boy V
I love that episode and it's my favourite because I love superheroes and my favourite is The International Justice League Of Super Acquintances and I love Phineas and Ferb story writer Martin Olson as the chief and I like when he kisses the chair and yells "Woo Hoo"! The theme song for this episode should be The Beach Boys 'Heroes and Villains' or David Bowie's 'Heroes' but it never was. I wished they were real. I wished they make another episode of the IJLSA. Signed Jack Joesph "JJ" Murphy of 13 She Oak Grove, Narellan Vale, NSW 2567 Australia. P. S Bring me pictures of the IJLSA for my birthday. My birthdate is 30/10/98 and I'm a fan of Michael Jackson.
This episode is absolutely fantastic. Every Villain Is Lemons, otherwise known as evil!


31Squid's Day Off
Squidward is crazy in this one after mr Krabs leaves him in charge and he keeps worrying about Spongebob.


Have you finished those errands?
This episode is the best

32Nasty Patty
I can't believe I had to add this no one had it. well this is my favorite episode but there are so many great one it was really hard to choose. plus all of those ones I forgot about. all are great except for the new ones (2005 and up) rock bottom is great too and I don't even get shanghaied. they do not play this episode often enough at all. I watched for the first time in about 2 years yesterday and that was on dvd


Genuineness! This is how to do a dark and disturbing episode but still make it hillarious. Great film noir inspired episode.
Omy god the nasty paty is so nasty mr crabs gowes gerren it is the scusten I am I hueg fan it is ossom

33Planet of the Jellyfish
This Is one of the very few newer episodes that I can actually stand watching, unlike some of the episodes that have weak plots.
I love how strange and creepy it is.

I love this episode, especially the part that says "firmly grasp it! "
First time Spongebob and Patrick go jellyfishing!


35Sand Castles in the Sand
One of the best newer episodes I have seen.
This episode is one of the most epic SpongeBob episodes I've ever seen. This was pure genius.


The sand castle part made the episode. The beginning and end was annoying though. But, The middle (Sand Castles made up for it). I wish the writers made episodes like this instead of making crap.
More comments about Sand Castles in the Sand

36Wet Painters
"Patrick" "Yeah" "I don't think this can get any bigger! " "Nonsense! " So awesome.
"spongebob we're not animals we have technology" then he slams the computer on the dollar classic. Damn spongebob used to be so funny now its a joke I don't want my kids watching the dumbass new episodes
Holy smokes. How is this at 55? It should at least be in the top fifteen! I mean, come on! Just watch it!


More comments about Wet Painters

37Spongebob Meets the Strangler
Honestly, this episode should be in the top ten list, I love this episode. When the cops cuff his eyes, that was priceless, really should be in the top ten
Has to be in the top 10 if not the top two or three!

38Valentine's Day
This Episode has some of the greatest lines in it.
There is way to many good episodes but if I had to pick one it would be this one.


WHY am I choosing this episode? Because it is AWESOME!
Seriously, when Patrick tries to find his Valentine's day present, it is HILARIOUS! And the line "FERRIS WHEEL! " is the best line EVER. Not just in SpongeBob, but in the HISTORY OF CARTOONS AS A WHOLE. And the ending is SO FUNNY!

THAT is why I voted for this episode.
More comments about Valentine's Day

39New Student Starfish
This is my favorite episode because Patrick went to the boating school with SpongeBob. (The funny part will come in a minute) First SpongeBob gets ready for boating school then Patrick goes to the front door. SpongeBob then tells him that he has boating school. Then Patrick tells him that he wanted to go. And here's the funny part, mrs. Puff wanted Patrick to tell the class his name and instead of saying his name, he didn't really know what she was talking about, so he just said "24! " That, people is exactly why my favorite number is 24. It may sound ridiculous, but I happen to like it so don't be giving me no flak!

Can't believe this one isn't in the top ten. My favorite one liner is from this episode when patrick enrolls in boating school with spongebob, Mrs puff asks what patrick's name is, patrick leans over and says to spongebob "Who's the fat kid talking to? " None of the newer episodes are funny by the way
I'm so Suprised this isn't number two, honestly I hate almost every one of the top tens. This episode is one of the most quoted episode of sponge Bob ever!

40The Paper
The reason this episode is so great is because of its simplicity I can't believe I had to put this
On the list myself
The Paper was along with one of the "holiday episodes" in which, this episode is very rare to watch.

41Jellyfish Jam


43Krusty Love
Why is this episode all the way down here?! I loved the part in the end when Spongebob became ticked off about Mr. Krabs telling him to keep buying things and he still gets mad about Spongebob wasting his money. Spongebob imitating bad words and Mrs. Puff looking in her dictionary. That was hilarious.

44Hall Monitor
Best line: "he's just standing there... MENACINGLY! ! "
I wanna be good!
An ice cream cone is a symbol of authority!
More comments about Hall Monitor

45Mid-Life Crustacean
What are you doing with my bloomers?


46Pre-Hibernation Week
Should be in the top 10. Why?
Spongebob + Pantera = Best Episode Ever!
Should be at about the top

47One Krabs Trash
Why is this so low?! "This hat belonged to smitty werben man Jensen..." And spongebob returns it to his grave and krabs digs it up. "HE WAS NUMBER ONE! "

48SpongeBob's Last Stand

49Sing a Song of Patrick
This is hilarious because old man Jenkins says I like this song when the awesome Patrick song comes. The band guys also die.
Twinkle twinkle patrick star, I made my self a sandwich...
"This song reminds me of you.."
".. Pee-u what's that horrible smell? "
Haha hilarious!
More comments about Sing a Song of Patrick

It's a giraffe! Laugh out loud and the bubble blowing "technique"
Remember the technique Spongebob did? Who doesn't like that part?
One of the most classic episodes at such a low rank? My god, the "technique" is one of the most memorable spongebob moments!
More comments about Bubblestand

51Can You Spare a Dime?
"This town will be eating out of the palm of my hands! "... "Spare change mam? "
This one is awesome! Its by far the best episode! Squidward is broke and Spongebob wears a skirt! Something is always happening in this episode. And Mr. Krabs is obsessing over money again. BUT 92?! "Or a football playing king in space... with a mustache." LOLOL
You have a job? Why wouldn't I? It's not like I'm some kind of inconsiderate jerk who lays in bed all day!

52As Seen on TV
It is the best and funniest episode ever never get tired of. Wacthing it


53Rock-a-Bye Bivalve
Absolute brillance. How it was not on here earlier was ridiculous. Why is it so great? Well, the plotting of this is hilarious. Spongebob and Patrick becoming parents. The jokes just write themselves. And it's really relatable too. Simply awesome.


Some episodes have mock title cartridges and this one was called 'How sex doesn't work'
The idea alone of spongebob and patrick being parents is enough to make you intrested. And the execution was great. This one is absolute genius



55Just One Bite
Are you UNSURE about the ranking of this episode


"You like krabby patties don't you squidward? " I burst out laughing every single time!
More comments about Just One Bite

56Employee of the Month

57Plankton's Army
My favorite part is when Mr. Krabs flush plankton down the toilet. Cruse you Krabs!

I really like episode for its execution of the western theme. While other old episodes have the Krusty Krab taking on a military theme that makes it fun to watch, this western take seems... special.
The fact that this is not on the list is why the U.S. is perceived as a bunch of idiots!

59Roller Cowards
This is one of my all time favorites! I still laugh at the part where SpongeBob and Patrick are on the kiddie ride.
One of the better, newer episodes out there.

60Squid on Strike
I think this episode is very clever. Whoever wrote this did a better job than in most episodes. I love this. Squidward: Unfair not funfair! Fish: Funfair? Where? Spongebob: At the Krusty Krab.
There are some spongebob episodes that I don't like like sample dumped
No one gives a hoot about the fate of laborers as long as rhey can get their instant gratification.
More comments about Squid on Strike

61Life of Crime
This episode is hilarious especily at the end when patrick says alright which one of you flatfoots stole my lollypop! When he ate his own
This episode is hilarious! Why is it so low on the list? "You took my only food! Now, I'm gonna starve." and "Alright, which one of you flatfoots stole my lollipop>" come on this episode is great!

62A Friendly Game

63Home Sweet Pineapple
This episode made me cry! It's the saddest episode of all time to be ever made! Especially when his parents arrive the music is too sad for me!

64Squilliam Returns
This one is a classic. Can't go wrong with it... No I cleaned bathrooms on the gourmet. I was the head chef on the SS Diarrhea.

65Don't Look Now
This is a awesome Halloween episode! It was made in October 2013! You should watch it!


Best episode of SpongeBob in 2013

This is the best episode in its season
This episode is aweasome

67Krab Borg
Quirky fun. Love the lines like: Let's get that poop, Our World!. Sponge and Squid teaming up and Krabs yelling your crazy. Love the electronic tune.
Great one! Mr. Krabs... A robot... They don't make them like this anymore

This is an awesome episode! Patricks like sandy's a girl! Laugh out loud
"Do we have to wear pickle jars? "
~Squidward Tentacles
Laugh out loud so funny when they go on dry land

69Skill Crane
Skill Crane to me is a memorable episode just in general
Skill Crane is an extremely memorable episode in addiion to its originality. People never really talk about it but to me it is one of the greats.
A takeoff of The Twilight Zone episode "The Fever." Very well done,

Good one Patrick's great in this

71It Came From Goo Lagoon

72The Algae's Always Greener
Why the everloving hell isn't this higher up on the list?!? Some of the best and funniest lines from the entire show, just watched it and remembered how good of an episode it actually is
Best part was when plankton said Spongebob used too much sauce

73Mermaid Man and Barnacle Boy III
The torture that Patrick puts Man-Ray through is simply classic

74Bubble Buddy
The end is the best, where Bubble Buddy talks and floats off into the distance in a bubble car.
Spongebob: Happy Lief Erikson day! Hunga Hinga Honga
Spongebob finds a note in Patrick's house
Patrick: Uhh went to get more paper, Patrick.P.S Happy lief erikson day! Hunga Hinga Honga! Ah, good times.

75Nature Pants

76Mermaid Man and Barnacle Boy IV
I wumbo, you wumbo, he, she, me, wumbo. Wumbology the study of wumbo, its first grade spongebob. HILARIOUS!


77Extreme Spots

78Patty Hype
I just call it Pretty Patties. :) P. S. I'm a Boi LOL Boi.

79The Krusty Plate
MAX-I-MUM POWER! 'Nucular explosion'

80Wishing You Well
Move Patrick I'm claustrophobic. What does claustrophobic mean. It means you're afraid of Santa Claus. HO HO HO! Stop it Patrick you're scaring him!
I lost it at this part.

81The Secret Box
I love this quote- "the condiments of my mind are in enigma. "
Patrick: The inner machinations of my mind are an enigma. (carton of milk spills in Patrick's head) laugh out loud!

82Sleepy Time

83SpongeBob On Tour

84Plankton's Pet
FINALLY! A good ending for Plankton. I LOVE this episode.

A very underrated episode, but one with a lot of great one-liners. I love when Mr. Krabs hires and fires Patrick, as well as the angelic chorus singing "Plastic! ".
I love this pirate-themed episode.

86Reef Blowers

87It's a Spongebob Christmas
At first I had low expectations, the special turned out to be really good! It's the first Spongebob related thing to capture the spirit of the first few seasons in a long time!
This is one of the only specials that weren't wastes of time! John Goodman is good as Santa! I also love the animation.
This episode was awesome, and had a lot of spirit

88Prehibernation Week

89Neptune's Spatula


When plankton in space!


91Smoothe Jazz at Bikini Bottom

92Professor Squidward

93Drive Thru

94SpongeBob B.C.

95A SquarePants Family Vacation

96Hello Bikini Bottom!

97Spongeguard On Duty

98I'm Your Biggest Fanatic

99Squidtastic Voyage
Who put that on the list. That episode is gross!

100Fear of a Krabby Patty

Comments About This List

Featured Lists
Popular Lists
New Lists

Top Remixes of This List

Posts About This List

List Info

This list was created 5 years, 83 days ago and has been voted on over 4,000 times. This top ten list contains 218 items, has been remixed 77 times and has been blogged about 1 times.

Updated Wednesday, April 23, 2014

List Error Reporting

See an item on this list that's misspelled, duplicated, or doesn't belong? Let us know. Click here to report the error.