getChecksum()) { throw new BadRequestHttpException('Checksum is required'); } $content = $this->createRequest('GET', '/ogboot/v1/oglives/'.$data->getChecksum()); if (isset($content['error']) && $content['code'] === Response::HTTP_INTERNAL_SERVER_ERROR ) { throw new BadRequestHttpException('An error occurred while fetching the OgLive: ' . $content['error']. ' (' . $content['details'] . ')'); } return new JsonResponse(data: $content, status: Response::HTTP_OK); } }