“Error initialising system couldn't unmarshal config“ error

Last updated: 1 minute read.


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


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


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.