79379122

Date: 2025-01-22 20:30:35
Score: 0.5
Natty:
Report link

I ended up getting a solution through aynber's suggestion here.

In createApplicationRequest, I added

    protected function failedValidation(Validator $validator)
    {
        throw new HttpResponseException(response($validator->errors(), Response::HTTP_UNPROCESSABLE_ENTITY));
    }

This returned a response with the error and worked perfectly.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ryan M