내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

while I'm hitting experience fragments on browser "undefined" 404 coming

Avatar

Level 4

while I'm hitting experience fragments on browser "undefined" 404 coming in network tab

 

this request coming from all experience fragments::

 

https://google.com/content/experience-fragments/xyz/ab/pl/hts/asing/advertising/cstem/undefined?id=u...

keshava219_0-1654089795520.png

please let me know, how will solve this issue 

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @keshava219 - Your URL seems to be incorrect with /undefined in the path. How are you grabbing this URL of Experience fragment? Ideally the last element in your XF url should be the variation you are trying to access, and for all XF's a default variation of master exists. So, try accessing your XF with replacing undefined as master.
If still doesn't work, the XF might not be published and so re-publish.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @keshava219 - Your URL seems to be incorrect with /undefined in the path. How are you grabbing this URL of Experience fragment? Ideally the last element in your XF url should be the variation you are trying to access, and for all XF's a default variation of master exists. So, try accessing your XF with replacing undefined as master.
If still doesn't work, the XF might not be published and so re-publish.

Avatar

Community Advisor

Hi @keshava219 

Seems something wrong in constructing URL for accessing Experience Fragment in your custom implementation- Identify what is undefined? It should be Master and/or Variant uses. The plain HTML rendition adds the protocol, host and context path.
eg. 

 

"/content/experience-fragment/master"

 


Reference: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/config...

Hope that helps!

Regards,
Santosh


Santosh Sai

AEM BlogsLinkedIn


Avatar

Community Advisor

Is this issue happening on author also? Is your url is getting redirected and appending undefined at the end ? Check if there is any custom code which updates the url to select the variant which might be not working properly.