﻿---
title: Found unexpected or unknown characters
description: Either there is a problem with the structure of your config file, or you have used a path or expression that the YAML parser cannot resolve because the...
url: https://www.elastic.co/elastic/docs-builder/docs/3016/reference/beats/packetbeat/error-found-unexpected-character
products:
  - Beats
  - Packetbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Found unexpected or unknown characters
Either there is a problem with the structure of your config file, or you have used a path or expression that the YAML parser cannot resolve because the config file contains characters that aren’t properly escaped.
If the YAML file contains paths with spaces or unusual characters, wrap the paths in single quotation marks (see [Wrap paths in single quotation marks](/elastic/docs-builder/docs/3016/reference/beats/packetbeat/yaml-tips#wrap-paths-in-quotes)).
Also see the general advice under [*Avoid YAML formatting problems*](https://www.elastic.co/elastic/docs-builder/docs/3016/reference/beats/packetbeat/yaml-tips).