Skipped in favor of canonical URL

I’m trying to add algolia to docusaurus and I have some problem with crawler.
I see that all the URLs getting the error: Skipped in favor of canonical
Not sure how to fix it.

I’m having the same issue. Only pages that are being crawled sucessfully are those with paths that end with “/” ( files), while those that do not are being skipped. I have tried disabling trailing slashes altogether but this breaks my site. Basically any time a url that does not end with “/” it tries to redirect to the same URL but puts a “/” on the end (which does not exist) and skips it. I have tried everything else I can think of.