# EPUBCheck CSS-008: An error occurred while parsing the…

Source: https://epublab.com/epubcheck/css-008/ (updated 2026-11-03)

EPUBCheck CSS-008 is an error message: “An error occurred while parsing the CSS: ….” The CSS parser found a syntax error; EPUBCheck reports the parser's description and the position.

- Official message (EPUBCheck 5.4.0): An error occurred while parsing the CSS: %1$s.
- Default severity: Error

## Typical causes

- A missing semicolon or brace, a stray character, or invalid syntax copied from a preprocessor.

## How to fix it

- Go to the line and column in the message and correct the syntax.

Message text and severity: EPUBCheck (W3C, BSD-3-Clause). Explanation: EPUBLab.
