Skip to main content

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​

MessageWhereSpecialist
Content type with this uid already exists in this stack. Please choose a different uid.When you create a projectprovision-studio-project
Content type with this name already exists in this stack. Please choose a different name.When you create a projectprovision-studio-project
No base URL found!In Project Settings, under Configurationconfigure-studio
URL pattern cannot be empty.In the Edit URL dialogtroubleshoot-composition-resolution
The variable "…" is invalid. Please check for typos.In the Edit URL dialogtroubleshoot-composition-resolution
The variable "…" is not recognized. Check the syntax and spelling.In the Edit URL dialogtroubleshoot-composition-resolution
You cannot use "…" in a freeform composition because no connected content type exists to query.In the Edit URL dialogtroubleshoot-composition-resolution
The variable "…" is not allowed. Date variables and other pseudo variables are not supported.In the Edit URL dialogtroubleshoot-composition-resolution
The field "…" does not exist. Please ensure you enter only existing fields.In the Edit URL dialogtroubleshoot-composition-resolution
"…" is not a nested field and cannot be traversed further.In the Edit URL dialogtroubleshoot-composition-resolution
The reference field "…" is not a valid reference.In the Edit URL dialogtroubleshoot-composition-resolution
Could not load the referenced content type for "…". Try again or check that the referenced content type exists.In the Edit URL dialogtroubleshoot-composition-resolution
The content type schema is still loading. Please wait a moment and try again.In the Edit URL dialogtroubleshoot-composition-resolution
Invalid URL pattern syntax. Please check your variable formatting.In the Edit URL dialogtroubleshoot-composition-resolution
Save failed: …In the Edit URL dialogtroubleshoot-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 warningtroubleshoot-composition-resolution

On the canvas​

MessageWhereSpecialist
Canvas URL is not configuredOn the canvas, in place of the previewconfigure-studio
Studio Can't Connect to Your SiteA card on the canvastroubleshoot-canvas
Content Types Don't MatchA card on the canvasprovision-studio-project
Use Studio Canvas ComponentA card on a section's canvassetup-section-preview
Studio Canvas Isn't on This RouteA card on a section's canvassetup-section-preview
We couldn't load your websiteIn place of a template's canvas previewbuild-connected-template
No entry matches this URL patternIn place of a template's canvas previewbuild-connected-template
No entry has a URL field populated yetIn place of a template's canvas previewbuild-connected-template
Connected Content Type Not AvailableIn place of a template's canvas previewbuild-connected-template
No Studio Code on This RouteA card on a template's canvassetup-template-preview-routes
Use Studio ComponentA card on a template's canvassetup-template-preview-routes
URL Pinned to Another TemplateA card on a template's canvassetup-template-preview-routes
A Closer URL Match WonA card on a template's canvastroubleshoot-composition-resolution
Another Entry Owns This URLA card on a template's canvastroubleshoot-composition-resolution
This Address Is Nearly RightA card on a template's canvastroubleshoot-composition-resolution
Multiple Templates Use This URLA 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 oldertroubleshoot-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 canvasuse-section-slot
This element is locked. Unlock it first, or drop into a different container.When you drag onto the canvastroubleshoot-canvas
Condition blocks inside this repeater can only have one child container.When you drag onto the canvasuse-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 Designuse-repeater

In the Settings, Data, Design and Layers tabs​

MessageWhereSpecialist
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 pickertroubleshoot-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 Repeatertroubleshoot-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 valuetroubleshoot-data-binding
Showing One Item Only or Showing The First … OnlyIn the Data Picker, with a ⚠ on the bound rowtroubleshoot-data-binding
Checking One Item Only or Checking The First … OnlyUnder a condition's fielduse-condition-block
Leave The … Repeater? or You're Outside The … RepeaterIn the Data Picker, inside a Repeateruse-repeater
Locked. Unlock it in Layers to wrap it.In the Data Picker, when you choose what to wrap in a Repeateruse-repeater
Invalid sourceIn the Layers tabtroubleshoot-data-binding
No source configuredIn the Layers tabtroubleshoot-data-binding
No condition configuredIn the Layers tabuse-condition-block
Data Mismatch FoundIn the Settings tabregister-component
No properties available for the selected component.In the Settings or Design tabregister-component
No styles are available for this section. Styles cannot be added or applied.In the Design tabregister-component
For design changes to take effect, the component must be configured to use the … property.In the Design tabregister-component
Could not load the data source. Please try again later. If the issue persists, please contact support.In the Data tabpin-entry
No data available for selected data source, please select one to continueIn the Data tabpin-entry
Invalid bindingIn the Settings tab, on a condition, and in the Layers tabuse-condition-block
Clear this condition first and re-build it by selecting a field from the data binder.In the Settings tab, on a conditionuse-condition-block

In the browser console or server log​

MessageWhereSpecialist
Either compositionUid, url, or templateContentTypeUid is requiredIn the browser consolesetup-template-preview-routes
error while registering componentsIn the browser consoleregister-component
No request listener found for event "register-components"In the browser consoleregister-component
[Contentstack Studio] StudioComposition requires either a `spec` or a `compositionUid`.In the browser console or server logrender-with-own-data
[Contentstack Studio] StudioComposition: SDK not initialized. Call studioSdk.init(config) before rendering with a compositionUid.In the browser consolerender-with-own-data
[Contentstack Studio] Slot: failed to report slot dataIn the browser consolerender-with-own-data

From your framework or a library​

MessageWhereSpecialist
Attempted to call …() from the serverIn your server logtroubleshoot-ssr-rendering
Invalid hook callIn the browser console or server logtroubleshoot-ssr-rendering
Only plain objects can be passed to Client ComponentsIn your server log, in Next.jsrender-with-own-data

When you save or deploy​

MessageWhereSpecialist
Deployment is disabled in the playground.The Deploy button's tooltip, when the project has no Base URLdeploy-studio-site
Failed to deploy the templateWhen you deploy, if your role or an approval rule refuses the publishdeploy-studio-site
A section you added is missing on your siteAfter you deploy with Send without Referencesdeploy-studio-site
Deploy-dialog messagesDeploy dialogdocs/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 DeployOn your live sitedeploy-studio-site

From the Studio CLI​

MessageWhereSpecialist
No project is currently setIn the terminalfigma-generate-components (its CLI commands)
Project not foundIn the terminalfigma-generate-components (its CLI commands)
Failed to set project by IDIn the terminalfigma-generate-components (its CLI commands)
Failed to set project interactivelyIn the terminalfigma-generate-components (its CLI commands)
Failed to get project informationIn the terminalfigma-generate-components (its CLI commands)
csdx studio:* is not a known commandIn the terminalfigma-generate-components (its CLI commands)
Component ID is required. Provide the Component ID from Plugin:In the terminal, from csdx studio:component:addfigma-generate-components
Component with ID <id> not foundIn the terminal, from csdx studio:component:addfigma-generate-components

In the Figma plugin​

MessageWhereSpecialist
Authorization timed out before it was completed in the browser.When you sign infigma-generate-components
No Studio projects found in your organization.When you sign infigma-generate-components
Your Contentstack session expired. Sign in again to continue.In the pluginfigma-generate-components
Auto Map finds nothingIn the Component Mapping tabfigma-generate-components
No code components found.In the Component Mapping tabfigma-generate-components
Frame too large to generateWhen you generate or copy a framefigma-generate-components
Figma node dimensions width exceed 6000pxWhen you generatefigma-generate-components
The output doesn't reflowIn the generated component, from a frame without Auto Layoutfigma-generate-components
Generation didn't finishIn the pluginfigma-generate-components
One generation wasn't savedIn the pluginfigma-generate-components
Uncaught Error: Not a valid JSONWhen you paste into the Studio canvasfigma-generate-components
A component of yours arrives as a Box or other elementsOn the canvas, after you pastefigma-generate-components
A warning that values aren't a registered design tokenWhen you pastefigma-generate-components

With design tokens​

MessageWhereSpecialist
The Design tab offers Studio's default tokens, not yoursIn the Design tabimport-design-tokens
A token isn't in a control's listIn the Design tabimport-design-tokens
Controls offer no tokensIn the Design tabimport-design-tokens
Authors still type raw valuesIn the Design tabimport-design-tokens
Tokens you registered earlier are goneIn the Design tabimport-design-tokens
[studio] Bound design prop "…" resolved to "…", which is not a valid value for that CSS propertyIn the browser consoleimport-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 troubleshoot instead.

See also​

Report a problem with this page