troubleshoot-error-messages
When to use
Look up a Studio message that carries no code, matched by its exact text, and route to the specialist that fixes it. Use when the user quotes a canvas card ("Studio Can't Connect to Your Site", "URL Pinned to Another Template"), an Edit URL dialog error, a Settings, Data, Design or Layers tab message, or a console line with no CODE: in it. For a message with an UPPER_SNAKE code, use troubleshoot-error-codes. For a symptom with no message, use troubleshoot.
Studio messages without a code: where they appear, who fixes them
Match the user's text against the Message column. … stands for a changing value. Then Read the row's specialist. Every message also has a row, with a link to its fix, at https://studio-documentation.contentstackapps.com/reference/error-message-index under "Messages without a code".
In the Studio editor
| Message | Where | Specialist |
|---|---|---|
Content type with this uid already exists in this stack. Please choose a different uid. | When you create a project | provision-studio-project |
Content type with this name already exists in this stack. Please choose a different name. | When you create a project | provision-studio-project |
No base URL found! | In Project Settings, under Configuration | configure-studio |
URL pattern cannot be empty. | In the Edit URL dialog | troubleshoot-composition-resolution |
The variable "…" is invalid. Please check for typos. | In the Edit URL dialog | troubleshoot-composition-resolution |
The variable "…" is not recognized. Check the syntax and spelling. | In the Edit URL dialog | troubleshoot-composition-resolution |
You cannot use "…" in a freeform composition because no connected content type exists to query. | In the Edit URL dialog | troubleshoot-composition-resolution |
The variable "…" is not allowed. Date variables and other pseudo variables are not supported. | In the Edit URL dialog | troubleshoot-composition-resolution |
The field "…" does not exist. Please ensure you enter only existing fields. | In the Edit URL dialog | troubleshoot-composition-resolution |
"…" is not a nested field and cannot be traversed further. | In the Edit URL dialog | troubleshoot-composition-resolution |
The reference field "…" is not a valid reference. | In the Edit URL dialog | troubleshoot-composition-resolution |
Could not load the referenced content type for "…". Try again or check that the referenced content type exists. | In the Edit URL dialog | troubleshoot-composition-resolution |
The content type schema is still loading. Please wait a moment and try again. | In the Edit URL dialog | troubleshoot-composition-resolution |
Invalid URL pattern syntax. Please check your variable formatting. | In the Edit URL dialog | troubleshoot-composition-resolution |
Save failed: … | In the Edit URL dialog | troubleshoot-composition-resolution |
You changed this URL, so it no longer follows the Custom Preview URL, and its rules won't apply to the variables. Use reset (↻) to follow it again. | In the Edit URL dialog, as a warning | troubleshoot-composition-resolution |
On the canvas
| Message | Where | Specialist |
|---|---|---|
Canvas URL is not configured | On the canvas, in place of the preview | configure-studio |
Studio Can't Connect to Your Site | A card on the canvas | troubleshoot-canvas |
Content Types Don't Match | A card on the canvas | provision-studio-project |
Use Studio Canvas Component | A card on a section's canvas | setup-section-preview |
Studio Canvas Isn't on This Route | A card on a section's canvas | setup-section-preview |
We couldn't load your website | In place of a template's canvas preview | build-connected-template |
No entry matches this URL pattern | In place of a template's canvas preview | build-connected-template |
No entry has a URL field populated yet | In place of a template's canvas preview | build-connected-template |
Connected Content Type Not Available | In place of a template's canvas preview | build-connected-template |
No Studio Code on This Route | A card on a template's canvas | setup-template-preview-routes |
Use Studio Component | A card on a template's canvas | setup-template-preview-routes |
URL Pinned to Another Template | A card on a template's canvas | setup-template-preview-routes |
A Closer URL Match Won | A card on a template's canvas | troubleshoot-composition-resolution |
Another Entry Owns This URL | A card on a template's canvas | troubleshoot-composition-resolution |
This Address Is Nearly Right | A card on a template's canvas | troubleshoot-composition-resolution |
Multiple Templates Use This URL | A notice on a template's canvas, when a template on a different content type (or a freeform one) shares its URL. For two templates on the same content type it means the app's SDK is @contentstack/studio-react 2.0.1 or older | troubleshoot-composition-resolution |
This section isn't allowed in this slot. Choose one of the slot's allowed sections, or drop a different component. | When you drag onto the canvas | use-section-slot |
This element is locked. Unlock it first, or drop into a different container. | When you drag onto the canvas | troubleshoot-canvas |
Condition blocks inside this repeater can only have one child container. | When you drag onto the canvas | use-condition-block |
Some components on this canvas are in Design mode. Switch them all to Preview mode to see real content. | A canvas notice when a composition opens with a Repeater or placed section in Design | use-repeater |
In the Settings, Data, Design and Layers tabs
| Message | Where | Specialist |
|---|---|---|
Direct binding isn’t supported because this field has no data—use a repeater to bind it to the schema. | In a placed section's Section Data picker | troubleshoot-data-binding |
Direct binding isn’t supported for multiple-value fields—use a repeater to bind it to the schema. | In the Data Picker, inside a Repeater | troubleshoot-data-binding |
This content may not display correctly in this view. Please contact your development team to update the component so it can support this type of content. | In the component itself, on the canvas and on your live site, in place of the value | troubleshoot-data-binding |
Showing One Item Only or Showing The First … Only | In the Data Picker, with a ⚠ on the bound row | troubleshoot-data-binding |
Checking One Item Only or Checking The First … Only | Under a condition's field | use-condition-block |
Leave The … Repeater? or You're Outside The … Repeater | In the Data Picker, inside a Repeater | use-repeater |
Locked. Unlock it in Layers to wrap it. | In the Data Picker, when you choose what to wrap in a Repeater | use-repeater |
Invalid source | In the Layers tab | troubleshoot-data-binding |
No source configured | In the Layers tab | troubleshoot-data-binding |
No condition configured | In the Layers tab | use-condition-block |
Data Mismatch Found | In the Settings tab | register-component |
No properties available for the selected component. | In the Settings or Design tab | register-component |
No styles are available for this section. Styles cannot be added or applied. | In the Design tab | register-component |
For design changes to take effect, the component must be configured to use the … property. | In the Design tab | register-component |
Could not load the data source. Please try again later. If the issue persists, please contact support. | In the Data tab | pin-entry |
No data available for selected data source, please select one to continue | In the Data tab | pin-entry |
Invalid binding | In the Settings tab, on a condition, and in the Layers tab | use-condition-block |
Clear this condition first and re-build it by selecting a field from the data binder. | In the Settings tab, on a condition | use-condition-block |
In the browser console or server log
| Message | Where | Specialist |
|---|---|---|
Either compositionUid, url, or templateContentTypeUid is required | In the browser console | setup-template-preview-routes |
error while registering components | In the browser console | register-component |
No request listener found for event "register-components" | In the browser console | register-component |
[Contentstack Studio] StudioComposition requires either a `spec` or a `compositionUid`. | In the browser console or server log | render-with-own-data |
[Contentstack Studio] StudioComposition: SDK not initialized. Call studioSdk.init(config) before rendering with a compositionUid. | In the browser console | render-with-own-data |
[Contentstack Studio] Slot: failed to report slot data | In the browser console | render-with-own-data |
From your framework or a library
| Message | Where | Specialist |
|---|---|---|
Attempted to call …() from the server | In your server log | troubleshoot-ssr-rendering |
Invalid hook call | In the browser console or server log | troubleshoot-ssr-rendering |
Only plain objects can be passed to Client Components | In your server log, in Next.js | render-with-own-data |
When you save or deploy
| Message | Where | Specialist |
|---|---|---|
Deployment is disabled in the playground. | The Deploy button's tooltip, when the project has no Base URL | deploy-studio-site |
Failed to deploy the template | When you deploy, if your role or an approval rule refuses the publish | deploy-studio-site |
| A section you added is missing on your site | After you deploy with Send without References | deploy-studio-site |
| Deploy-dialog messages | Deploy dialog | docs/15-build/05-templates-and-sections/55-save-preview-deploy.md#when-another-template-is-primary-at-the-url |
| Your site still shows the old layout after a Deploy | On your live site | deploy-studio-site |
From the Studio CLI
| Message | Where | Specialist |
|---|---|---|
No project is currently set | In the terminal | figma-generate-components (its CLI commands) |
Project not found | In the terminal | figma-generate-components (its CLI commands) |
Failed to set project by ID | In the terminal | figma-generate-components (its CLI commands) |
Failed to set project interactively | In the terminal | figma-generate-components (its CLI commands) |
Failed to get project information | In the terminal | figma-generate-components (its CLI commands) |
csdx studio:* is not a known command | In the terminal | figma-generate-components (its CLI commands) |
Component ID is required. Provide the Component ID from Plugin: | In the terminal, from csdx studio:component:add | figma-generate-components |
Component with ID <id> not found | In the terminal, from csdx studio:component:add | figma-generate-components |
In the Figma plugin
| Message | Where | Specialist |
|---|---|---|
Authorization timed out before it was completed in the browser. | When you sign in | figma-generate-components |
No Studio projects found in your organization. | When you sign in | figma-generate-components |
Your Contentstack session expired. Sign in again to continue. | In the plugin | figma-generate-components |
| Auto Map finds nothing | In the Component Mapping tab | figma-generate-components |
No code components found. | In the Component Mapping tab | figma-generate-components |
Frame too large to generate | When you generate or copy a frame | figma-generate-components |
Figma node dimensions width exceed 6000px | When you generate | figma-generate-components |
| The output doesn't reflow | In the generated component, from a frame without Auto Layout | figma-generate-components |
Generation didn't finish | In the plugin | figma-generate-components |
One generation wasn't saved | In the plugin | figma-generate-components |
Uncaught Error: Not a valid JSON | When you paste into the Studio canvas | figma-generate-components |
| A component of yours arrives as a Box or other elements | On the canvas, after you paste | figma-generate-components |
| A warning that values aren't a registered design token | When you paste | figma-generate-components |
With design tokens
| Message | Where | Specialist |
|---|---|---|
| The Design tab offers Studio's default tokens, not yours | In the Design tab | import-design-tokens |
| A token isn't in a control's list | In the Design tab | import-design-tokens |
| Controls offer no tokens | In the Design tab | import-design-tokens |
| Authors still type raw values | In the Design tab | import-design-tokens |
| Tokens you registered earlier are gone | In the Design tab | import-design-tokens |
[studio] Bound design prop "…" resolved to "…", which is not a valid value for that CSS property | In the browser console | import-design-tokens |
Acceptance
- The quoted text matched one row (ignoring the
…values), and the specialist in that row was Read before any diagnosis. - Text that matches no row is not forced onto the closest one. Route by symptom through
troubleshootinstead.
See also
troubleshoot-error-codes: errors and warnings that carry a code, and Studio APIerror_codes.troubleshoot: the symptom router.