I solved it with this: https://developer.ww.wp.xz.cn/rest-api/frequently-asked-questions/#query-parameters-are-not-working
If you find that query parameters such as ?page=2 or ?_embed are not having any effect, your server may not be properly configured to detect them. If you are using Nginx to serve your website, look for a try_files line in your site configuration. If it looks like this:
try_files $uri $uri/ /index.php$args;
change it to this:
try_files $uri $uri/ /index.php$is_args$args;
Adding $is_args (which will print a ? character if query arguments are found) will allow WordPress to properly receive and interpret the query parameters.
I have the same error in my webpage, I am just starting my website so I do not have any plugin installed, just a theme I bought from a developer, according to the developer this could be a problem of the core.
I have not noticed any issue with this error appearing but would like to get rid of it.
Did you use the fix on Nginx? did it work?