Use '%r' instead of '%s' for config error responses to handle unicode messages