Bug: Cannot link to a document anymore - console.log shows error

Dear Prismic Support,

in the current repro that i am working on, i am unable to link to a document with the field type "link". It used to work a few hours ago.

The console.log show the following error:

main.js:329 Uncaught TypeError: Cannot read property 'length' of undefined
    at E (main.js:329)
    at Object.setup (main.js:329)
    at Object.<anonymous> (main.js:286)
    at j (jquery-2.1.0.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-2.1.0.min.js:2)
    at x (jquery-2.1.0.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery-2.1.0.min.js:4)
    at XMLHttpRequest.i (main.js:329)

Please let me know how to proceed asap, this is really is holding us back.

Let me know if you need the repro link, i can sent it via PM.


Hello @u2463-dev

Welcome to the Prismic forum.

Are you still getting this issue? If so, can you please share the URL of your repository? You can send this by personal chat?



Hi Priyanka,
yes still getting this issue. I've sent you a PM.


Hello @u2463-dev,

I received your message, and I can reproduce the same error. I notified my dedicated team. I will give you an update once the issue is resolved.

Thanks for the patience.


Slack message link: https://prismic-team.slack.com/archives/CRULR1GTZ/p1617351097015400

Hello @u2463-dev

I hope you are doing good!

The above error has been fixed. Are you still getting the issue?



This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.