---
title: "TYPO3 Exception 1297933823"
manual: "TYPO3 Exceptions"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3exceptions:typo3-exception-1297933823"
source: "Exceptions/1297933823.rst"
modified: "2026-09-16T07:39:08+00:00"
---

# TYPO3 Exception 1297933823

> [!NOTE]
> Below, the TYPO3 community may have provided additional information or
> solutions for this exception. However, these may or may not apply to your
> particular case. If you can provide more information, you should come back
> here and add your experience and solution steps to this issue once you have
> resolved it.
>
> General TYPO3 troubleshooting tips can be found in the *Troubleshooting*
> section in the menu. You can also ask questions and receive support in the
> [TYPO3 Questions category on talk.typo3.org](https://talk.typo3.org/c/typo3-questions/).
>
> To add your experience, click "Edit on GitHub" above and follow the
> ["Edit on GitHub" workflow](https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Howto/EditOnGithub.html#docs-contribute-github-method).
> Also check out
> [our tip on Coding Style and reST](https://docs.typo3.org/permalink/t3exceptions:tip-about-rest-coding-style).

## Object with identity "1234" not found.

Error like that is thrown when you have an Extbase plugin on a page with
a "single view" action, and the object with id 1234 can not be
retrieved. E.g. because it is hidden or deleted.

Example for **TYPO3 8.7**:

```
/**
  * @param \TYPO3\CMS\Extbase\Mvc\RequestInterface $request
  * @param \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response
  * @throws \Exception|\TYPO3\CMS\Extbase\Property\Exception
  */
 public function processRequest(\TYPO3\CMS\Extbase\Mvc\RequestInterface $request, \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response)
 {
     try {
         parent::processRequest($request, $response);
     }
     catch(\TYPO3\CMS\Extbase\Property\Exception\TargetNotFoundException $e) {
         if ($e instanceof \TYPO3\CMS\Extbase\Property\Exception\TargetNotFoundException) {
             $GLOBALS['TSFE']->pageNotFoundAndExit('The given id could not be mapped to an object.');
         } else {
             throw $e;
         }
     }
 }

```

In **TYPO3 9.5**, you can switch out the (now deprecated) `pageNotfoundAndExit()`-code with this:

```
return GeneralUtility::makeInstance(ErrorController::class)->pageNotFoundAction(
  $this->request,
  'The requested page does not exist',
  ['code' => PageAccessFailureReasons::PAGE_NOT_FOUND]
);
```
