WordPress REST API rest_comment_invalid_author Sorry, you are not allowed to edit ‘author’ for comments
This is because you are sending unauthenticated anonymous requests, but still specifying an author. If what you were trying to do worked then it would be possible to impersonate any person on your site in a comment by specifying their author ID when creating the request. With this in mind, the error message is quite … Read more