I have recently implemented collection pages from static collection. So far there’s no error when testing it on the editor but when I try to publish it, it fails. I don’t know what’s causing the error. Hopefully, weweb can show in the build result the possible cause of failures during publishing so that we can implement fix or what.
I hope someone can give some insights regarding this one, ive tried multiple times but still, it fails.
Yup, I’ve messaged them via chat and email. They are currently unavailable, I think since it’s a weekend. Anyways, can you share some common reasons it fails?
Yup, It works if I just bind a few items in my static collection (10 items). If I bind the whole collection (343 items). It won’t publish successfully.
Can you check if every item has a unique id and valid path?
For example, when you bind the URL path to the title of the article, it can happen that the path is not unique or not valid because of special characters.
Ok, i will check my collection. May i know what are the special characters that are not valid for url path? I have seen some “titles” that has some special characters but it automatically converted to “slugs”. May i know if there are special characters that are not handled?
For future reference, what do you recommend we should bind to the "URL path? should we have a “slug” field in our Xano database?
I’m not sure exactly. We’re investigating further on our side. It should work with the few I’ve seen from your collection like word-word1_word2 but my recommendation would be to bind to have a dedicated “slug” field in the Xano database with a pre-defined URL path so they are no bad surprises and the URLs look nice & clean in the navigator (avoiding _, é,ù,%,€ etc.)
That said, as I mentioned, we are investigating further on our side because, from what I can see of your project, the issue you are running into should not be happening.
If you can confirm all the slugs are unique and none are empty, that would help us a lot as it would rule out two of the most common errors.
Hi @Joyce , I have a new update regarding this issue. I had a different approach for this one and I added new items in the static collection incrementally (first I published 50 items, second 100 and so on). So when I reached 200+ items, it says that it reached “page limit exceeded”.
Is this the reason why it is failing to publish before (343 items in 1 publish)?
Hi @Joyce, I have tried manually adjusting the number of items bounded in the Static collection by an increment of 1. And I have found out that it will fail to publish every time I try to bind more than 322 items from our Xano DB.
Can you confirm if you really have this limit in terms of the number of static collections to be bound to a static collection page? Thank you!
This should not be happening. Based on our tests, the static collection page should be able to handle way more items.
I’m following up with the tech team to investigate further. I’ll keep you posted asap but, based on the team’s current availabilities, I don’t expect we’ll find a solution until next week at the earliest.