Knowledge Buddy SAX Token issue

Hello! while working with a private Pega laboratory environment, we identified a problem during the Knowledge Buddy ingestion process. After reviewing the configuration and execution flow, it appears that the issue is related to the authentication token generation for the Vector Store service.

The activity “GetVectorStoreConnectionSettings” (Class: PegaFW-QnA-Data-VectorSvc-Config) tries to obtain the authentication token using the following Java code:

SAXToken = com.pega.fnx.textservice.http.client.JwtTokenGenerator.get().getToken();


However, the token is not generated, and the .AuthToken property remains empty. As a result, the subsequent REST calls to the Vector Store service cannot authenticate correctly.

During testing, the activity returned:

.AuthToken: blank (expected a non-empty value)

Additionally, when attempting content ingestion, the log shows:

“Failed to retrieve SAX token”

image.png

We verified that the Vector Store service URL is correctly resolved through the data page “D_VectorStoreConnectionSettings” which returns:

http://genai-vector-store-service.default.svc.cluster.local:8089

This indicates that the endpoint is reachable, but the required SAX/JWT token cannot be generated. Our analysis suggests the issue is likely rooted in the runtime configuration rather than in the Pega rules, since the token generation depends on the GenAI runtime and environment settings.

  • Is the previous analysis explained correct?
  • Should we contact an administrator in order to check the environment settings?
  • Is there any other way to fix it by ourselves?

Thankyou in advance

Hi, I have asked internally KB team to give you some insights.

1 Like

SAX service is not available in Pega labs environment, it’s only for Pega Cloud environments. If Pega labs server is pointing to a Vector Store service in Pega Cloud, then authentication will fail. Is there a specific need to use a hybrid setup?

1 Like

Hi! We are using a pega demo lab (DemoX) with Pega Infinity '25.1.2, the Knowledge Buddy creation and ingestion was working until last month. Previously working Knowledge Buddies have stopped working while new ones also refuse to answer.

Since this is a DemoX environment you should send an email to [email protected] (if you haven’t done so already). thank you