diff --git a/src/client.js b/src/client.js
index 46e44fa1f..bf1edf30b 100644
--- a/src/client.js
+++ b/src/client.js
@@ -3612,7 +3612,7 @@ module.exports.CRYPTO_ENABLED = CRYPTO_ENABLED;
*
* @param {?Object} data Data about this transition.
*
- * @param {MatrixError} data.err The matrix error if state=ERROR.
+ * @param {MatrixError} data.error The matrix error if state=ERROR.
*
* @param {String} data.oldSyncToken The 'since' token passed to /sync.
* null for the first successful sync since this client was