Skip to main content

I am fetching records from the database in system level API and I want to throw 404 Not Found when the records array is empty. I am using validation component to validate the size of payload and I set a message. But this ends up with the 500 status code.

답변 5개
  1. 2024년 12월 2일 오후 2:52

    Could you please put the example, I'm trying to do the same but not working for me

0/9000