SAP Knowledge Base Article - Public

3750496 - Error: "[BW API] Failed to fetch the CSRF token required to start the BW process chain"

Symptom

 DataSphere Task Chains have started to fail when calling BW Bridge Process Chains. The error messages as below:

[BW API] Failed to fetch the CSRF token required to start the BW process chain. Status Code: 401, Status Message: Unauthorized

Environment

SAP Datasphere

Cause

SAP increased caching times for the JWT token used to fetch a CSRF token for the BW Bridge use case. And your Max ID. Token age config yields an upper bound for the token age, which now causes issues.

Resolution

The default token time for JWT tokens we use is 12hours so a Max ID Token age of 12hours (720mins) would be the "safest" choice to make your tasks execute successfully again.

Keywords

KBA , DS-DI-SCH , Scheduling and Task Chains , Problem

Product

SAP Datasphere all versions