Skip to content

Your spec file has an unsupported encoding

spec.syntax.encoding

Category
API specification
Default severity
Error
Applies to
API specification
Default outcome
Blocked
Recommended action
Fix the source
Grouped by
Source document

Why it matters

The file bytes are not valid UTF-8, so the document cannot be read reliably.

How to fix it

  1. Re-save the file as UTF-8 without a byte-order mark.

Try-It is disabled for this portal. Copy the request from the console above to run it yourself.

Try-It is disabled for this portal. Copy the request from the console above to run it yourself.