I had previews working locally and in production with my Next.js site for a while now but today they stopped working. Did anything change recently on the Prismic side?
Error: { Error: Unexpected status code [404] on URL https://[repo].cdn.prismic.io/api/v2/documents/search?integrationFieldsRef=...} at .../node_modules/prismic-javascript/dist/prismic-javascript.min.js
Thanks!
Phil
(Phil Snow - (On holiday, tag @Prismic-Support-Team for help))
2
Hey Jerry,
We are aware of some Preview issues with the updated Next.js kit. We are working hard to get a fix for this.
If we have any updates or need any more info we’ll let you know here.
Thanks.
Phil
(Phil Snow - (On holiday, tag @Prismic-Support-Team for help))
Split this topic
3
Phil
(Phil Snow - (On holiday, tag @Prismic-Support-Team for help))
5
@jerry.nummi Can you send me your documentID and the full token in private message so I can test this?
Phil
(Phil Snow - (On holiday, tag @Prismic-Support-Team for help))
7
@jerry.nummi Can you send me the code for your project in a zip or with a link to the github in a private message? We’ll try and debug this.
Phil
(Phil Snow - (On holiday, tag @Prismic-Support-Team for help))
8
@jerry.nummi Can you tell me if you updated your Next.js version before this issue? Can you also confirm that if it’s not working in both your local and production?