# Preview not working on Macs

**URL:** <https://community.prismic.io/t/preview-not-working-on-macs/4509>\
**Category:** Developing with Prismic\
**Tags:** php\
**Created:** [March 12, 2021, 6:27pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509 "2021-03-12T18:27:58Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![long](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@long](https://community.prismic.io/u/long)\
**Post date:** [March 12, 2021, 6:27pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/1 "2021-03-12T18:27:58Z")

</div>

Hi,

When loading a Preview on any browser on a Mac, the toolbar /edit pencil icon does not show up. On a Windows PC it works ok. I have the same issue as this post here - [{repoURL}/toolbar/state is returning a 404; Previews not working - #9 by Phil](https://community.prismic.io/t/repourl-toolbar-state-is-returning-a-404-previews-not-working/4463/9)  
So do you need to make the same fix in my repo ? Thanks.

---

<div class="post-metadata">

**Author:** ![long](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@long](https://community.prismic.io/u/long)\
**Post date:** [March 12, 2021, 6:40pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/2 "2021-03-12T18:40:56Z")

</div>

Just an update. The Preview now does not work on PCs either. One additional error I see is:

iframe.html:16  
Uncaught Error: Unexpected message received by the iframe: [object MessageEvent].  
Expected setup\_port  
at Object.initialisationMessageHandler (iframe.html:16)  
at iframe.html:16

[10:38](https://plainjoestudios.slack.com/archives/D7KT6ELAG/p1615574313029700)

from [Prismic Toolbar iFrame](https://museumofthebible.prismic.io/prismic-toolbar/4.0.5/iframe.html)

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [March 16, 2021, 11:54am UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/4 "2021-03-16T11:54:58Z")

</div>

Hi Long Pham,

Can you give me the name of your repo so I can check this?

Thanks.

---

<div class="post-metadata">

**Author:** ![long](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@long](https://community.prismic.io/u/long)\
**Post date:** [March 16, 2021, 2:51pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/5 "2021-03-16T14:51:50Z")

</div>

Hi Phil,

The name is museumofthebible. Thanks.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [March 16, 2021, 2:53pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/6 "2021-03-16T14:53:04Z")

</div>

Can you check this now?

---

<div class="post-metadata">

**Author:** ![long](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@long](https://community.prismic.io/u/long)\
**Post date:** [March 16, 2021, 3:15pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/7 "2021-03-16T15:15:10Z")

</div>

It seems to be working but for one of the new custom type, we are seeing a 404 page, but the 404 page has the preview toolbar.  
Here is the custom type page - [https://museumofthebible.prismic.io/masks/location\_site.json/](https://museumofthebible.prismic.io/masks/location_site.json/)

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [March 16, 2021, 3:23pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/8 "2021-03-16T15:23:31Z")

</div>

I don't understand, where are you seeing the 404?

---

<div class="post-metadata">

**Author:** ![long](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@long](https://community.prismic.io/u/long)\
**Post date:** [March 16, 2021, 3:36pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/9 "2021-03-16T15:36:22Z")

</div>

Sorry for the confusion, if you go to [https://museumofthebible.prismic.io/documents~b=working&c=unclassified&l=en-us/YEGBCRIAACYAbyoE/](https://museumofthebible.prismic.io/documents~b=working&c=unclassified&l=en-us/YEGBCRIAACYAbyoE/) and click on Preview, you end up on a 404 page.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [March 16, 2021, 3:46pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/10 "2021-03-16T15:46:15Z")

</div>

OK, it sounds like you haven't updated your link resolver to process the new custom type.

You can check this and other common preview issues here:

> **[Troubleshooting: Previews](https://user-guides.prismic.io/en/articles/3403530-troubleshooting-previews)**
>
> Are your Prismic previews not working? Here we'll show you some common checks to get your previews up and running again.

---

<div class="post-metadata">

**Author:** ![long](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@long](https://community.prismic.io/u/long)\
**Post date:** [March 16, 2021, 4:01pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/11 "2021-03-16T16:01:40Z")

</div>

Ok, yes, I see the problem there. Thanks.  
Also, the preview toolbar is not showing up on a Mac in Safari. Chrome is working now. I tried this in the incognito mode of Safari.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [March 16, 2021, 4:05pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/12 "2021-03-16T16:05:16Z")

</div>

It won't show up on a browser on which you're not signed in to Prismic.

---

<div class="post-metadata">

**Author:** ![long](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@long](https://community.prismic.io/u/long)\
**Post date:** [March 16, 2021, 4:24pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/13 "2021-03-16T16:24:27Z")

</div>

I'm signed into Prismic in another tab. I tried this on an incognito window as well as a regular window as well.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [March 16, 2021, 4:57pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/14 "2021-03-16T16:57:27Z")

</div>

If your previews are working everywhere, but not in Safari, then the issue is an easy fix. Safari released an update that blocks cross-site cookies. Our preview system uses these cross site cookies to build the previews on top of your web app, so you will need access your Safari preferences \> navigate to the privacy tab \> deselect 'Prevent cross-site tracking'.

[![](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/1/18b0f0f388dcceeeca2c9ce1e8124c20a903afcc.png)](https://downloads.intercomcdn.com/i/o/182102886/4188b8bb572ae532485ef496/Screenshot+2020-02-04+at+16.09.08.png)

---

<div class="post-metadata">

**Author:** ![long](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@long](https://community.prismic.io/u/long)\
**Post date:** [March 16, 2021, 6:17pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/15 "2021-03-16T18:17:21Z")

</div>

That works, Thanks !

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [March 17, 2021, 6:18pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/16 "2021-03-17T18:18:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 4:38pm UTC](https://community.prismic.io/t/preview-not-working-on-macs/4509/17 "2021-12-09T16:38:26Z")

</div>


