Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7932917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:09:51+00:00 2026-06-03T21:09:51+00:00

I read What HTTP status response code should I use if the request is

  • 0

I read What HTTP status response code should I use if the request is missing a required parameter? but it did not specifically ask about headers and there didn’t seem to be a consensus.

The context of this question assumes successful authentication. I’m currently favoring either a 400 (though that doesn’t feel right because this isn’t really a case of “malformed syntax”) or 403. Given 403’s description:

The server understood the request, but is refusing to fulfill it.
Authorization will not help and the request SHOULD NOT be repeated. If
the request method was not HEAD and the server wishes to make public
why the request has not been fulfilled, it SHOULD describe the reason
for the refusal in the entity.

This makes the most sense to me.

Can someone please enlighten me? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:09:53+00:00Added an answer on June 3, 2026 at 9:09 pm

    400 Bad Request

    It’s a user error in the request. Unlike with a 403, the client should be allowed to repeat their request, but only after modification:

    10.4.1 400 Bad Request The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

    Edit

    As Mark Reed points out in the comments, a 403 says, “There is nothing wrong with what you sent me. You have proper authorization and the syntax was valid. I just don’t want to do what you ask.”

    The part that you have in bold simply says, if the server so chooses, it can tell the client exactly why it doesn’t want to fulfill the request.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When communicating with our REST webservice, an http response with status code of 304
I've read several documents on the merits of the different HTTP redirect status codes,
I google'd a bit and read http://en.wikipedia.org/wiki/Portable_Executable but i can't seem to find when
I have read the documentation ( http://dev.mysql.com/doc/refman/5.1/en/partitioning.html ), but I would like, in your
I need to read the response from an HTTP GET in situations where the
I've read many articles and several post (including here in stackoverflow) but do not
... after having just read http://www.cocoadev.com/index.pl?CocoaInsecurity ... I am curious to know about your
I have a question about the C++ visibility attribute. I have read http://gcc.gnu.org/wiki/Visibility and
I read in http://support.microsoft.com/kb/298408 that IIS6.0 automatically responds with a "courtesy redirect" (HTTP 301)
I read this: http://symfony.com/doc/current/book/service_container.html It said: $mailer = $this->get('my_mailer'); As an added bonus, the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.