json([ 'message' => 'not a valid QR code'], 400); } return parent::render($request, $exception); } }