본문으로 건너뛰기
블로그

Prismic "has encountered an error [Try Again]": the CORS fix

Prismic page builder shows "has encountered an error [Try Again]"? Check the console for a CORS error on role.internal.prismic.io and allow that domain.

The Liite team7분 분량

Short answer

Open your browser's developer console while the error shows. If you see a CORS error mentioning role.internal.prismic.io, allow that domain through your VPN, proxy or firewall. This is the one fix confirmed in Prismic's community forum, so check it first, but it isn't guaranteed to be your cause.

You're editing in Prismic's page builder, and after a while the screen fails with a Try Again prompt. Reloading helps for a few minutes at most. The message people search for is:

Prismic has encountered an error [Try Again]

Why it happens

The most likely cause is a blocked request to a Prismic service domain. In the community thread about this error, the console showed a CORS error on role.internal.prismic.io/team-spaces when the builder failed. The answer given there was to whitelist that domain in VPN or network settings.

CORS is a browser mechanism. A server uses it to say which other origins may load its resources, and the browser enforces that. MDN also notes that for security reasons, specifics about a CORS error are not available to JavaScript, and all the code knows is that an error occurred. That is why the builder can only show a generic error screen, and why the console is where you find the details.

A browser can also report a request that never reached the server as a CORS error. A VPN, corporate proxy, DNS filter, firewall rule or privacy extension can all produce that. So the console wording alone doesn't prove who is at fault. On the other hand, MDN says most CORS errors can only be resolved on the server, so if the same error appears on a clean network, the fix is on Prismic's side, not yours.

What we don't know:

  • The evidence is one community thread, which had 363 views as of January 2025. That is a small sample.
  • We can't tell whether Prismic has changed this request since then. The problem may already be fixed for you, or may have a different cause.
  • The thread doesn't say how long the builder works before it fails, only that it happens after a while.

Step-by-step fixes

Work from the most likely cause to the least.

Fix 1: confirm it's this error

  1. Open the page builder in Prismic.
  2. Open your browser's developer tools (usually F12, or right-click and choose Inspect).
  3. Go to the Console tab.
  4. Wait for the error to appear, or reproduce it.
  5. Look for a red message that mentions CORS and role.internal.prismic.io.

MDN describes the same approach: reproduce the failing transaction and check the console for a CORS violation message. If you see no CORS message, skip to the table below and then to "If nothing works".

Fix 2: allow the domain in your VPN or network filter

  1. Open your VPN, proxy or security tool's settings.
  2. Add role.internal.prismic.io to the allow list, bypass list or split-tunneling exceptions, whichever your tool calls it.
  3. Reload the builder and work for a while to see whether the error returns.

On a work network you usually can't change these rules. Send your IT team the domain and the console error text.

Fix 3: take the VPN out of the equation

  1. Disconnect the VPN.
  2. Reload the builder and work as usual.
  3. If the error is gone, the VPN is the cause. Keep it off for Prismic or set up the exception from Fix 2.

Fix 4: try another network

Switch from office Wi-Fi to a phone hotspot. If the error disappears, the block is on the first network. A proxy, firewall or DNS filter is the usual suspect.

Fix 5: test without extensions

Open a private window with extensions disabled, or use another browser. Ad blockers and privacy tools sometimes block requests to unfamiliar subdomains. If it works, re-enable extensions one at a time to find the culprit, then add an exception for Prismic.

Fix 6: check the Network tab

  1. In developer tools, open the Network tab.
  2. Reproduce the error and find the failed request to team-spaces.
  3. Click it and note the status and any error text.

A request that shows as blocked or cancelled in the browser points to a filter on your side. A server error status points to a problem at Prismic, which none of the fixes above will cure.

What you seeLikely causeWhat to do
CORS error on role.internal.prismic.io only on VPN or office networkVPN or proxy blocking the domainAllow-list the domain (Fix 2)
Error vanishes on a phone hotspotNetwork filter or firewallAsk IT to allow the domain (Fix 4)
Error vanishes in a private window without extensionsBrowser extensionAdd an exception (Fix 5)
Same error on a clean network and browserProblem on Prismic's sideContact Prismic support
No CORS message in the consoleDifferent causeNote the console and Network errors and contact Prismic

Don't disable browser security

Launching a browser with web security switched off, or toggling CORS flags, only hides the symptom and exposes you to real risk. Allow the domain instead.

What won't help

  • Clearing the cache or reloading repeatedly. If the request is blocked in transit, a fresh copy of the page changes nothing.
  • Logging in again or recreating the page. Your content isn't the problem. The builder can't reach one of its services.
  • Changing CORS settings on your own site. The failing request goes to a Prismic domain, so the response headers are Prismic's to set, not yours.

Checklist before you try again

  • The console shows the exact error, and you've copied it.
  • You tested with the VPN off.
  • You tested on a different network.
  • You tested in a private window with extensions disabled.
  • You noted the status of the team-spaces request in the Network tab.
  • Your IT team knows about the domain, if you're on a managed network.

If nothing works

Contact Prismic through its help pages or the Prismic community forum. Include the exact console error, the failed request's URL and status from the Network tab, whether a VPN or corporate network is involved, your browser and version, and the steps above that you already tried. I couldn't find a public Prismic status page in my search, so check Prismic's site for one if you suspect an outage.

Hi Prismic team,

The page builder in my repository shows "Prismic has encountered an error [Try Again]" after I've worked for a while.

Console error: [paste the exact CORS message mentioning role.internal.prismic.io]
Failed request: [URL and status from the Network tab]
Time it happened: [date, time and time zone]
Browser and version: [e.g. Chrome 130 on macOS]
Network: [home, office, VPN or proxy name]
Already tried: VPN off, phone hotspot, private window without extensions.

Can you confirm whether role.internal.prismic.io is the right domain to allow, or whether this is a problem on your side?

Thanks,
[Name and repository name]

Common questions

Does this only happen with a VPN?

The forum answer names VPN and network settings, but any filter between you and Prismic could block the same request. Testing on a phone hotspot quickly shows whether your network is involved.

Is role.internal.prismic.io safe to allow?

It's a Prismic domain, and allowing it was the answer given in Prismic's community thread. If your organization has an allow-listing policy, show IT the thread and your console error so they can confirm it with Prismic.

Will the error come back?

If a filter on your network was the cause, it should stay fixed once the exception is in place. If Prismic changes the domains it uses, the rule may need updating, so keep the console error handy.

Why does it say CORS if it's a network block?

Browsers can report a request that was stopped or answered without the right headers as a CORS failure. The console and Network tab give more detail than the on-screen message.