Response Code Categories

  • 2xx: Success
  • 4xx: Client-side errors
  • 5xx: Server-side errors

Common Response Codes

CodeStatusDescription
200OKEverything’s good—your request worked perfectly!
201CreatedNice job! A new resource has been successfully created.
202AcceptedGot it! Your request is in the queue for processing.
204No ContentDone and dusted, but nothing to show for it—no content returned.
400Bad RequestOops! Something’s wrong with your request. Check your parameters.
401UnauthorizedAccess denied—are you sure you’ve logged in?
403ForbiddenNope, you can’t do that—permission denied.
404Not FoundLost? The resource you’re looking for doesn’t exist.
405Method Not AllowedWrong move—this method isn’t allowed here.
409ConflictIt’s complicated—your request conflicts with the current state.
422Unprocessable EntityYou tried, but something doesn’t add up. Fix those semantic issues!
429Too Many RequestsSlow down! You’re sending too many requests—take a breather.
500Server ErrorYikes! Something went wrong on our side—hang tight.