Skip to content

HAMUR_E5335: A content.api option has an invalid value

A content.api option has an invalid value. Error HAMUR_E5335 belongs to @hamur/content (5301 – 5400).

Message

text
HAMUR_E5335 content.api must be { rest?: boolean, graphql?: boolean } (got <shown>)
text
HAMUR_E5335 content.api has no key <shown>; it takes rest and graphql
text
HAMUR_E5335 content.api.<key> must be a boolean (got <shown>)

Cause

content.api is not { rest?, graphql? } of booleans.

Fix

Fix the option as the message says.