Use Valid Layer Names
You should always use valid and common layer names with your content to ensure readable output. When you use incorrect layer names, most environments will throw errors as not all naming conventions are valid.
Caution With Invalid Chars
Photoshop will use the text contents of layers as the name. There are some cases where a designer may use an icon font, which can result in an invalid layer name.
Use valid layer names!