Skip to main content

Errors

When Studio, your browser console or your server log shows an error, these pages tell you what went wrong and how to fix it. Every error has a code, and every way it can happen has its own heading with its own fix.

Which page to read​

The pages are grouped by what you'll have to change. Ask what fails, then read the page it leads to.

A flow from the question What fails to the error page with the fix. Every template fails the same way leads to SDK setup errors or Delivery settings errors. The canvas loads but your draft edits don't show leads to Live Preview errors. Other templates work but this one doesn't leads to Template and section errors. It works with another entry, or parts of it are empty, leads to Entry and content errors.

Common errors​

Where you saw it​

The same error shows up in different places. Inside Studio you get a card that links to the fix. Outside Studio there's no card, only a log line with a code. Here's one error, an environment name with a typo, in each place.

In Studio

The card names the problem in plain words and links to the heading with its fix. Here it's Studio Can't Read Your Content, naming the environment your site asked for.

On a site that renders on the server, the canvas can show the Studio SDK's own error card in place of your 404 page. Render on the server explains why.

The Studio Can't Read Your Content card on the Blog post template, naming the environment prodution, with Error code ENVIRONMENT_INVALID in its details.

In your browser console

A site that renders in the browser logs the code and what went wrong. The log has no link, so search these pages for the code.

[Contentstack Studio] ENVIRONMENT_INVALID: Contentstack did not find the environment "prodution".

In your server log

A site that renders on the server logs the same line in your server's output. Search these pages for the code there too.

[Contentstack Studio] ENVIRONMENT_INVALID: Contentstack did not find the environment "prodution".

If you have a code​

Search these pages for the code, such as ENVIRONMENT_INVALID. A log line prints only the code. A Studio card links straight to the heading for your case.

Report a problem with this page