What's your favourite status code for an API to return?

Thought it might be fun to have a bit of a different thread about API status codes after last nights AMA :grin:

What’s your favourite status code for an API to return?

I love a good teapot returned :tea:

4 Likes

I like the 420 - Enhance Your Calm, ya mon :laughing:

3 Likes

418 the teapot of course, what else could it be!

unnamed

Besides that one… 450, if you are seeing that… then you got some lovely parents!

450

4 Likes

My time to shine!!

This website is a must visit https://http.cat/ :heart_eyes:

7 Likes

That Method not allowed :smiley:
Got me good!

1 Like

Gotta love a teapot :grin: I do love achieving unexpected 500s
Quite like a 422- unprocessable entity mostly as my brain associates the word entity with ghosts so unprocessable ghost, ghost framework etc :ghost:

1 Like

I love HTTPCats. :heart_eyes: I’ve used it to talk about testing at an apprentice open evenining. The internet is just full of cats afterall

2 Likes

500 error codes really make me happy :smiley:

But I do admit I did not see or know all of the below ones

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses

3 Likes

501 (Not Implemented)

The server either does not recognize the request method, or it cannot fulfill the request.

1 Like

Given the meaning in the ranges…

  • 1xx: You may like to know…
  • 2xx: No worries, all OK
  • 3xx: Look elsewhere
  • 4xx: You’re doing it wrong
  • 5xx: We broke it

it’s clearly in the 500 range :slightly_smiling_face: ➙ It’s likely a bug. :bug:

To be precise: ‘501 Not Implemented’ is great: Something should be there, but isn’t implemented.

5 Likes

Just saw this one and had to share it

6 Likes

Fantastic! Love these.