Optimizely CMS 13 Graph QL on local

Vote:
 

Hi,

How can I run graph ql locally. I have demo keys. 

Startup.cs

services
    .AddCmsAspNetIdentity<ApplicationUser>()
    .AddCms()
    .AddAlloy()
    .AddAdminUserRegistration()
    .AddEmbeddedLocalization<Startup>();

services.AddGraphContentClient();

 

 

Facing below error.

An unhandled exception occurred while processing the request.

GraphHttpException: Invalid credentials. Try verifying your credentials.

Optimizely.Graph.Core.GraphExceptionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in GraphExceptionHandler.cs, line 23

InvalidOperationException: Failed to communicate with Graph API. This may indicate network issues or that Graph is unavailable. Error: Invalid credentials. Try verifying your credentials.. Query: query NewsPageQuery {
NewsPage (limit: 10) {
items { _id _metadata { key version locale } }
}}

 

 

#342823
Jun 18, 2026 9:26
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.