diff --git a/source/components/form/api-bar.mjs b/source/components/form/api-bar.mjs
index 9ecbc7837ac2f206e4c3f70d8a9228cc232218b8..bbf53c933f022aa1f145b489b94af92815735bb2 100644
--- a/source/components/form/api-bar.mjs
+++ b/source/components/form/api-bar.mjs
@@ -497,7 +497,7 @@ function executeAPIButton(event, opts) {
 			}
 
 			if (isFunction(failedApiCall)) {
-				failedApiCall.call(self, button, error, response);
+				failedApiCall.call(self, button, error);
 			} else if (
 				button instanceof MessageStateButton ||
 				button instanceof StateButton
diff --git a/source/components/form/message-state-button.mjs b/source/components/form/message-state-button.mjs
index 85abbf247b80da347d86ee0bc55f75e66456dc4e..bbca2798e32ac419c44b6941084dc36d93f1de1d 100644
--- a/source/components/form/message-state-button.mjs
+++ b/source/components/form/message-state-button.mjs
@@ -99,7 +99,7 @@ class MessageStateButton extends Popper {
 	 * @property {string|HTMLElement} message.content The message content
 	 * @property {string} message.title The message title
 	 * @property {string} message.icon The message icon
-	 * @property {string} mode The mode of the button
+	 * @property {string} mode The mode of the button, can be `manual` or `submit`
 	 * @property {string} labels.button Button label
 	 * @property {boolean} features.disableButton Disable the button
 	 * @property {Object} aria Aria attributes