Skip to main content
Share Your Experience: Take the 2024 Developer Survey
2 votes

"Component GraphQL Query" field is ignored in Experience Editor

I installed in the solution 2 modules : Sitecore Headless Rendering 22 and Sitecore CLI latest version. The "Sitecore CLI" module was installed as the last one. This module contains the ...
Vlad Iobagiu's user avatar
  • 18.6k
1 vote

ERR_HTTP2_PROTOCOL_ERROR while changing the Layout in Sitecore Headless SXA 10.3

To troubleshoot the ERR_HTTP2_PROTOCOL_ERROR when accessing the Layout Service in Sitecore 10.3 SXA (Headless with Next.js), follow these steps: Double-Check Layout Service Host URL: Ensure that the ...
Ajay Gour's user avatar
1 vote

Sitecore JSS: How to Hide Sitecore API Key in Client-Side JavaScript File

This issue arises because the repository contains these details somewhere. Ensure that your scconfig.json or .env file does not contain the SITECORE_API_KEY and SITECORE_API_HOST. By the way, why isn'...
Andi AR's user avatar
  • 763
1 vote

The new fields that added to template not appear on GraphQl schema on CD server

GraphQL schema auto-updates on CD after publishing. Can you check the schema provider configuration for your GraphQL host is pointing to the correct database as below. <configuration> <...
ckhanna's user avatar
  • 818
1 vote

Rendering returns null with hardcoded path but works fine on the playground

The problem you have is the item that you are trying to query. You are trying to get PDF item, so its in the media library. By default, the preview GraphQL API running on the CM or delivery API ...
Richard Seal's user avatar
  • 20.5k
1 vote

Rendering returns null with hardcoded path but works fine on the playground

The issue you are facing probably is that the item itself is not present in the instance. The query returns the same result in the playground and browser console. Please see the attached screenshot ...
Debtanu Biswas's user avatar
1 vote

Invalid graphql endpoint, Verify that 'layoutServiceHost' property in 'scjssconfig.json' file or appropriate environment variable is set

I also faced same issue during XM Cloud local setup In my case to resolve this issue added some configuration in .env file, So first check bellow configuration in .env file # To secure the Sitecore ...
Praveen Sharma's user avatar
1 vote

Extend GraphQL schema for custom field

Problem During my upgrade from Sitecore 9.2 to 10.3, I faced an issue related to the edge endpoint being hardcoded in the Sitecore.LayoutService.GraphQL.LayoutService....
Vadim Birkos's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible