-
400 에러 Bad Request개발 여정/Error 2021. 9. 15. 15:06
[org.springframework.web.servlet.DispatcherServlet] Completed 400 BAD_REQUEST
[org.springframework.web.servlet.DispatcherServlet] "ERROR" dispatch for POST "/error", parameters={masked}
[org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] Mapped to org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)
[org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor] Using 'application/json', given [/] and supported [application/json, application/+json, application/json, application/+json]
[org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor] Writing [{timestamp=Tue Sep 14 19:12:31 KST 2021, status=400, error=Bad Request, trace=org.springframework.we (truncated)...]
org.springframework.web.servlet.DispatcherServlet] Exiting from "ERROR" dispatch, status 400
Request에서 잘못됐다는데
js에서 alert로 일일이 데이터들을 확인해봤을 때는 알맞게 넘어간 게 보였다.
근데 ajax에서 처리를 못하는 것 같아서 왜 그럴까 봤더니..
missionId를 missioId라고 오타를 내서 그런 거였다.
역시 오타가 있는지 없는지 잘 살펴보는 게 삽질 안하기 위한 코드 검토의 1순위.
'개발 여정 > Error' 카테고리의 다른 글
tomcat not allowed 에러 (0) 2021.09.16 에러 : unable to load server configurations from 어쩌구 / java.io.FileNotFoundException (0) 2021.09.16 에러: Parameter index out of range (0) 2021.09.15 c:when문이 반영이 안됐던 이유 (result의 키값) (0) 2021.09.10 [스프링] 500 에러 : TooManyResultsException (0) 2021.09.07