인프런 커뮤니티 질문&답변
update id 가 db에 없을때
작성
·
131
0
여기서도 404가 아닌 200과 에러메시지가 리턴됩니다.
왜 그런건지요?
text: '{"message":"Cast to ObjectId failed for value \\"6029a336a38ecb59d6b9xxxx\\" at path \\"_id\\" for model \\"Product\\""}',
body: {
message: 'Cast to ObjectId failed for value "6029a336a38ecb59d6b9xxxx" at path "_id" for model "Product"'
},
답변
답변을 기다리고 있는 질문이에요
첫번째 답변을 남겨보세요!




