Index: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
===================================================================
--- wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php	(revision 39303)
+++ wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php	(working copy)
@@ -379,7 +379,8 @@
 
 		if ( isset( $request['author_ip'] ) && ! current_user_can( 'moderate_comments' ) ) {
 			if ( empty( $_SERVER['REMOTE_ADDR'] ) || $request['author_ip'] !== $_SERVER['REMOTE_ADDR'] ) {
-				return new WP_Error( 'rest_comment_invalid_author_ip', __( 'Sorry, you are not allowed to set author_ip for comments.' ), array( 'status' => rest_authorization_required_code() ) );
+				/* translators: %s: request parameter */
+				return new WP_Error( 'rest_comment_invalid_author_ip', sprintf( __( "Sorry, you are not allowed to edit '%s' for comments." ), 'author_ip' ), array( 'status' => rest_authorization_required_code() ) );
 			}
 		}
 
