A `getStaticPaths()` route pattern was matched, but no matching static path was found for requested path
tiwka19 opened this issue · comments
When I create a page in wordpress, and after I refresh astro page and go to it, I get a 404 and i get message:
[getStaticPaths] A `getStaticPaths()` route pattern was matched, but no matching static path was found for requested path `/test-3/`.
Possible dynamic routes being matched: src/pages/[...uri].astro.
I don't know if this is related, but I get: [getStaticPaths] invalid path param: uri. undefined expected for an optional param, but got empty string.
with Astro 2.10.9 and @astrojs/node 5.3.4
I actually started to get the first error in this issue, and it was because I had more terms than I could fetch in the GraphQL query. So, if I have 200 terms between tags and categories, the second 100 terms don't get included in the getStaticPaths
array. @djmtype what type of route is this, a post, category archive?
@JEverhart383 It's whenever I visit a single post.