Fix url config name
apidoc should be lower case
Better error message on config error