Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Getting bad_request if user Forgets the application

Answered
New post

Comments

1 comment

  • JohannesMaria

    Hi Farsim,

     

    this is and probably will be a matter of debate.

     

    From the RFC7231:

     

    6.5.1. 400 Bad Request

    The 400 (Bad Request) status code indicates that the server cannot or
    will not process the request due to something that is perceived to be
    a client error (e.g., malformed request syntax, invalid request
    message framing, or deceptive request routing).

     

    The wording does not exclude problems with the content, it just clearly states the server will not process this in your case and you could perceive your scenario as deceptive request routing.
    Due to the fact, that the API is around a long time, a change of this behaviour is now very unlikely to be changed.

    0
    Comment actions Permalink

Please sign in to leave a comment.