update errors; fix validation of wechat key/secret