Could not query post data Prismic examlpe #12116
-
Hi, there. I decided to try brand new example with integration of Prismic CMS. Main page looks good, but when I try to open some post it gives error 404. Debugger shows only empty objects. It's probably because of broken query. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
404 means the post you created wasn't found, for troubleshooting try the following:
If everything is okay, please provide more details that can help reproduce the issue. |
Beta Was this translation helpful? Give feedback.
-
I found the bug 🐛. If you create your Prismic account before and change your default locale from 'en-us' to another, this example won't work. I made PR with configuration of locale. It can be closed right now. |
Beta Was this translation helpful? Give feedback.
I found the bug 🐛. If you create your Prismic account before and change your default locale from 'en-us' to another, this example won't work. I made PR with configuration of locale.
It can be closed right now.