Login 24/7 Support Community tyk.io

“Error initialising system couldn't unmarshal config“ error

Description

Users receive the error “Error initialising system: couldn’t unmarshal config: invalid character” in their logs when starting up the Gateway.

Cause

Users may not have proper syntax in the Tyk configuration files.

Solution

Recheck all syntax in all of the Tyk’s configuration files. Ensure all syntax is correct and restart the Gateway. If problem persists, copy the content from Tyk configuration files and paste them on JSONlint to validate the JSON.