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

# TYPO3 Exception 1507645381

> [!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).

## RuntimeException: Object Name String, contains invalid character

```
#1507645381 RuntimeException
Line 0: Object Name String, ".." contains invalid character "...".
Must be alphanumeric or one of: "_:-\."

```

### Cause of error: BOM in ext_conf_template.txt

This exception got thrown in TYPO3 9.5.5, when the `ext_conf_template.txt`
file contained a BOM (byte order mark) character at beginning of the
file and the Extension Configuration was fetched using the
ExtensionConfiguration API.

#### Fix error

Fix, see these resources:

-   in the shell:
    [How to remove BOM](https://unix.stackexchange.com/questions/381230/how-can-i-remove-the-bom-from-a-utf-8-file)
-   in PhpStorm: Use **File > Remove BOM**, see
    [How to stop PHPStorm from creating BOM](https://intellij-support.jetbrains.com/hc/en-us/community/posts/207041775-How-do-I-stop-PHPStorm-7-0-131-374-from-adding-a-BOM)
