12.15.2023
0. Background
클라이언트 에러가 너무 많이 나서 정리하고 두고두고 꺼내보려 기록
1. 400 Bad Request Error
400 bad request의 의미를 한 줄로 정리하자면 요청의 syntax가 잘못되었다 라는 뜻이다.
서버가 요청을 처리하기 전에 발생하며, 다른 클라이언트 에러코드에 모두 부합하지 않을 때 400에러가 발생한다.
The request could not be understood by the server due to malformed syntax. This err occurs when the type of error does not fall into any of the other status codes. In another word, this err is about the request before it is being processed by the server.
주로 발생되는 에러의 원인으로는 다음의 것들이 있다.
- 요청 주소 에러
- 요청 구문 에러 (syntax err)
- 만료된 쿠키/캐쉬값
- 파일 사이즈가 너무 클 때