updated error codes in config