public function getSectionInfoBySlug(
        string $sectionHandle,
        string $slug
    ): JsonResponse {
        try {
            /** @var CommonSectionInterface $entry */
            $entry = $this->readSection->read(ReadOptions::fromArray([
                ReadOptions::SECTION => $sectionHandle,
                ReadOptions::SLUG => $slug
            ]))[0];
        } catch (\Exception $exception) {
            return $this->errorResponse($this->requestStack->getCurrentRequest(), $exception);
        }
        return $this->getSectionInfo($sectionHandle, (string)$entry->getId());
    }