add error_code & renew post key