sync typeerror fix #statusCode

rt