while I'm hitting experience fragments on browser "undefined" 404 coming in network tab
this request coming from all experience fragments::
please let me know, how will solve this issue
Solved! Go to Solution.
Views
Replies
Total Likes
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.
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.
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
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.
Views
Likes
Replies