Expand my Community achievements bar.

SOLVED

\/etc/cloudsettings/default/contexthub.kernel.js - Granite.HTTP is undefined

Avatar

Level 7

In my site console is showing an error " Granite.HTTP is undefined" on /etc/cloudsettings/default/contexthub.kernel.js.May i know that is it accessible to us to fix this error? contexthub.kernel.js is a default aem js ? and implementation of contexthub.kernel.js ?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Are you using contexthub? Is it causing any issues with the setup?

 

Also, check [1] for a similar resolution.

 

[1] https://experienceleaguecommunities.adobe.com/t5/Adobe-Experience-Manager/etc-cloudsettings-default-...

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Are you using contexthub? Is it causing any issues with the setup?

 

Also, check [1] for a similar resolution.

 

[1] https://experienceleaguecommunities.adobe.com/t5/Adobe-Experience-Manager/etc-cloudsettings-default-...

Avatar

Level 7

yes iam using contexthub.as a solution i added below dependency and error is solved.it will impact for my site ?

<sly data-sly-call="${clientlib.js @ categories='granite.utils'}"/>

Avatar

Level 7
can i know how to check contexthub is working fine or not in my site ? (urgent))
The following has evaluated to null or missing: ==> liql("SELECT id, subject, body, depth, post_time, author.login, author.id, author.rank, metrics.views FROM messages WHERE topic.id = '${topicId}' AND is_solution = true").data.items[0] [in template "analytics-container" at line 82, column 31] ---- Tip: It's the final [] step that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign acceptedAnswer = liql("SELECT... [in template "analytics-container" at line 82, column 5] ----